Table of Contents

Struct AssetLink

Namespace
Stride.Core.Assets.Analysis
Assembly
Stride.Core.Assets.dll

Represent a link between Assets.

public struct AssetLink : IContentLink
Implements
Inherited Members

Constructors

Create an asset dependency of type type and pointing to item

public AssetLink(AssetItem item, ContentLinkType type)

Parameters

item AssetItem

The item the dependency is pointing to

type ContentLinkType

The type of the dependency between the items

Fields

The asset item pointed by the dependency.

public readonly AssetItem Item

Field Value

AssetItem

Properties

The reference to the element at the opposite side of the link.

public IReference Element { get; }

Property Value

IReference

The type of the link.

public ContentLinkType Type { get; set; }

Property Value

ContentLinkType

Methods

Gets a clone copy of the asset dependency.

public AssetLink Clone()

Returns

AssetLink

the clone instance