AnimationData<T> Class
Namespace: Stride.Animations
Assembly: Stride.Engine.dll
Derived from AnimationData<T>:
[DataSerializerGlobal(null, typeof(AnimationData<float>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<double>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<Vector2>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<Vector3>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<Vector4>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<int>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<uint>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<long>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<ulong>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<Int2>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<Int3>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<Int4>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<Quaternion>), DataSerializerGenericMode.None, false, false)]
[DataSerializerGlobal(null, typeof(AnimationData<object>), DataSerializerGenericMode.None, false, false)]
public class AnimationData<T> : AnimationData
Type Parameters
|
Improve this Doc
View Source
Properties
AnimationInitialValues
public AnimationInitialValues<T>[] AnimationInitialValues { get; set; }
Property Value
AnimationSortedValues
public AnimationKeyValuePair<T>[][] AnimationSortedValues { get; set; }
Property Value
Duration
public TimeSpan Duration { get; }
Property Value
Type |
Description |
System.TimeSpan |
|
ElementType
public override Type ElementType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
|
Improve this Doc
View Source
Methods
FromAnimationChannels(IList<KeyValuePair<String, AnimationCurve<T>>>)
public static AnimationData<T> FromAnimationChannels(IList<KeyValuePair<string, AnimationCurve<T>>> animationChannelsWithName)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<System.String, AnimationCurve<T>>> |
animationChannelsWithName |
|
Returns
Extension Methods