CloneEntityComponentSerializer<T> Class
Namespace: Stride.Engine.DesignAssembly: Stride.Engine.dll
Derived from CloneEntityComponentSerializer<T>:
public class CloneEntityComponentSerializer<T> : DataSerializer<T> where T : EntityComponent, new()
Type Parameters
Name | Description |
---|---|
T |
Name | Description | |
---|---|---|
Methods | ||
PreSerialize(ref T, ArchiveMode, SerializationStream) | ||
Serialize(ref T, ArchiveMode, SerializationStream) |
Methods
PreSerialize(ref T, ArchiveMode, SerializationStream)
public override void PreSerialize(ref T entityComponent, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
T | entityComponent | |
ArchiveMode | mode | |
SerializationStream | stream |
Overrides
Stride.Core.Serialization.DataSerializer<T>.PreSerialize(T, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)
Serialize(ref T, ArchiveMode, SerializationStream)
public override void Serialize(ref T entityComponent, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
T | entityComponent | |
ArchiveMode | mode | |
SerializationStream | stream |
Overrides
Stride.Core.Serialization.DataSerializer<T>.Serialize(T, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)