CloneSerializer<T> Class
Namespace: Stride.Engine.DesignAssembly: Stride.Engine.dll
Serializer for helping cloning of Entity.
Derived from CloneSerializer<T>:
public class CloneSerializer<T> : DataSerializer<T> where T : class
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 obj, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
T | obj | |
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 obj, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
T | obj | |
ArchiveMode | mode | |
SerializationStream | stream |
Overrides
Stride.Core.Serialization.DataSerializer<T>.Serialize(T, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)