Class AssetReferenceLink
Updatable reference link returned by Visit(object).
public class AssetReferenceLink
- Inheritance
-
AssetReferenceLink
Constructors
AssetReferenceLink(MemberPath, object, Func<AssetId?, string, object>)
Initializes a new instance of the AssetReferenceLink class.
public AssetReferenceLink(MemberPath path, object reference, Func<AssetId?, string, object> updateReference)
Parameters
path
MemberPathThe path.
reference
objectThe reference.
updateReference
Func<AssetId?, string, object>The update reference.
Fields
Path
The path to the member holding this reference.
public readonly MemberPath Path
Field Value
- MemberPath
Properties
Reference
A IReference or Stride.Core.IO.UFile.
public object Reference { get; }
Property Value
Methods
UpdateReference(AssetId?, string)
Updates the reference.
public void UpdateReference(AssetId? guid, string location)