AssetReferenceLink Class
Namespace: Stride.Core.Assets.AnalysisAssembly: Stride.Core.Assets.dll
Updatable reference link returned by Visit(Object).
System.Object →
AssetReferenceLink
Derived from AssetReferenceLink:
public class AssetReferenceLink
Name | Description | |
---|---|---|
Constructors | ||
AssetReferenceLink(MemberPath, Object, Func<Nullable<AssetId>, String, Object>) | Initializes a new instance of the AssetReferenceLink class. |
|
Fields | ||
Path | The path to the member holding this reference. |
|
Properties | ||
Reference | A IReference or Stride.Core.IO.UFile. |
|
Methods | ||
UpdateReference(Nullable<AssetId>, String) | Updates the reference. |
Constructors
AssetReferenceLink(MemberPath, Object, Func<Nullable<AssetId>, String, Object>)
Initializes a new instance of the AssetReferenceLink class.
public AssetReferenceLink(MemberPath path, object reference, Func<AssetId?, string, object> updateReference)
Parameters
Type | Name | Description |
---|---|---|
Stride.Core.Reflection.MemberPath | path | The path. |
System.Object | reference | The reference. |
System.Func<System.Nullable<AssetId>, System.String, System.Object> | updateReference | The update reference. |
Fields
Path
The path to the member holding this reference.
public readonly MemberPath Path
Field Value
Type | Description |
---|---|
Stride.Core.Reflection.MemberPath |
Properties
Reference
A IReference or Stride.Core.IO.UFile.
public object Reference { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
UpdateReference(Nullable<AssetId>, String)
Updates the reference.
public void UpdateReference(AssetId? guid, string location)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<AssetId> | guid | The unique identifier. |
System.String | location | The location. |