AssetReferenceDataSerializer Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Serializer for AssetReference.
Derived from AssetReferenceDataSerializer:
public sealed class AssetReferenceDataSerializer : DataSerializer<AssetReference>
Name | Description | |
---|---|---|
Methods | ||
Serialize(ref AssetReference, ArchiveMode, SerializationStream) | Serializes or deserializes the given object |
Methods
Serialize(ref AssetReference, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref AssetReference assetReference, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
AssetReference | assetReference | |
ArchiveMode | mode | The serialization mode. |
SerializationStream | stream | The stream to serialize or deserialize to. |
Overrides
Stride.Core.Serialization.DataSerializer<Stride.Core.Assets.AssetReference>.Serialize(Stride.Core.Assets.AssetReference, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)