Table of Contents

Class AttachedReference

Namespace
Stride.Core.Serialization
Assembly
Stride.Core.Serialization.dll

Stores the object reference information, so that it is easy to work on partially loaded or CPU version of assets with ContentManager.

public class AttachedReference : IReference
Inheritance
AttachedReference
Implements

Fields

Data

Data representation (useful if your object is a GPU object but you want to manipulate a CPU version of it). This needs to be manually interpreted by a custom DataSerializer<T> implementation.

public object Data

Field Value

object

Id

The asset unique identifier.

public AssetId Id

Field Value

AssetId

IsProxy

If yes, this object won't be recursively saved in a separate chunk by ContentManager. Use this if you only care about the Url reference.

public bool IsProxy

Field Value

bool

Url

The asset URL of the referenced data.

public string Url

Field Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.