AnimationKeyValuePairArraySerializer<T> Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
System.Object → DataSerializer → DataSerializer<AnimationKeyValuePair<T>[]> →
AnimationKeyValuePairArraySerializer<T>
Derived from AnimationKeyValuePairArraySerializer<T>:
public class AnimationKeyValuePairArraySerializer<T> : DataSerializer<AnimationKeyValuePair<T>[]> where T : struct
Type Parameters
Name | Description |
---|---|
T |
Name | Description | |
---|---|---|
Methods | ||
Initialize(SerializerSelector) | Initializes the specified serializer. |
|
PreSerialize(ref AnimationKeyValuePair<T>[], ArchiveMode, SerializationStream) | ||
Serialize(ref AnimationKeyValuePair<T>[], ArchiveMode, SerializationStream) |
Methods
Initialize(SerializerSelector)
Initializes the specified serializer.
public override void Initialize(SerializerSelector serializerSelector)
Parameters
Type | Name | Description |
---|---|---|
SerializerSelector | serializerSelector | The serializer. |
Overrides
Remarks
This method should be thread-safe and OK to call multiple times.
PreSerialize(ref AnimationKeyValuePair<T>[], ArchiveMode, SerializationStream)
public override void PreSerialize(ref AnimationKeyValuePair<T>[] obj, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
AnimationKeyValuePair<T>[] | obj | |
ArchiveMode | mode | |
SerializationStream | stream |
Overrides
Stride.Core.Serialization.DataSerializer<Stride.Animations.AnimationKeyValuePair<T>[]>.PreSerialize(Stride.Animations.AnimationKeyValuePair<T>[], Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)
Serialize(ref AnimationKeyValuePair<T>[], ArchiveMode, SerializationStream)
public override void Serialize(ref AnimationKeyValuePair<T>[] obj, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
AnimationKeyValuePair<T>[] | obj | |
ArchiveMode | mode | |
SerializationStream | stream |
Overrides
Stride.Core.Serialization.DataSerializer<Stride.Animations.AnimationKeyValuePair<T>[]>.Serialize(Stride.Animations.AnimationKeyValuePair<T>[], Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)