AssetLink Struct
Namespace: Stride.Core.Assets.AnalysisAssembly: Stride.Core.Assets.dll
Represent a link between Assets.
public struct AssetLink : IContentLink
Name | Description | |
---|---|---|
Constructors | ||
AssetLink(AssetItem, ContentLinkType) | Create an asset dependency of type |
|
Fields | ||
Item | The asset item pointed by the dependency. |
|
Properties | ||
Element | ||
Type | ||
Methods | ||
Clone() | Gets a clone copy of the asset dependency. |
Constructors
AssetLink(AssetItem, ContentLinkType)
Create an asset dependency of type type
and pointing to item
public AssetLink(AssetItem item, ContentLinkType type)
Parameters
Type | Name | Description |
---|---|---|
AssetItem | item | The item the dependency is pointing to |
ContentLinkType | type | The type of the dependency between the items |
Fields
Item
The asset item pointed by the dependency.
public readonly AssetItem Item
Field Value
Type | Description |
---|---|
AssetItem |
Properties
Element
public readonly IReference Element { get; }
Property Value
Type | Description |
---|---|
IReference |
Type
public ContentLinkType Type { get; set; }
Property Value
Type | Description |
---|---|
ContentLinkType |
Methods
Clone()
Gets a clone copy of the asset dependency.
public AssetLink Clone()
Returns
Type | Description |
---|---|
AssetLink | the clone instance |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()