Table of Contents

Class AssetReferenceLink

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

Updatable reference link returned by Visit(object).

public class AssetReferenceLink
Inheritance
AssetReferenceLink

Constructors

Initializes a new instance of the AssetReferenceLink class.

public AssetReferenceLink(MemberPath path, object reference, Func<AssetId?, string, object> updateReference)

Parameters

path MemberPath

The path.

reference object

The reference.

updateReference Func<AssetId?, string, object>

The update reference.

Fields

The path to the member holding this reference.

public readonly MemberPath Path

Field Value

MemberPath

Properties

A IReference or Stride.Core.IO.UFile.

public object Reference { get; }

Property Value

object

Methods

Updates the reference.

public void UpdateReference(AssetId? guid, string location)

Parameters

guid AssetId?

The unique identifier.

location string

The location.