Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    AnimationData<T> Class

    Namespace: Stride.Animations
    Assembly: Stride.Engine.dll
    System.Object → AnimationData → AnimationData<T>
    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
    Name Description
    T
    Name Description
    Properties
    AnimationInitialValues
    AnimationSortedValues
    Duration
    ElementType
    Methods
    FromAnimationChannels(IList<KeyValuePair<String, AnimationCurve<T>>>)
    | Improve this Doc View Source

    Properties


    AnimationInitialValues

    public AnimationInitialValues<T>[] AnimationInitialValues { get; set; }
    Property Value
    Type Description
    AnimationInitialValues<T>[]

    AnimationSortedValues

    public AnimationKeyValuePair<T>[][] AnimationSortedValues { get; set; }
    Property Value
    Type Description
    AnimationKeyValuePair<T>[][]

    Duration

    public TimeSpan Duration { get; }
    Property Value
    Type Description
    System.TimeSpan

    ElementType

    public override Type ElementType { get; }
    Property Value
    Type Description
    System.Type
    Overrides
    AnimationData.ElementType
    | 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
    Type Description
    AnimationData<T>

    Inherited Members

    AnimationData.AnimationSortedValueBlock
    AnimationData.AnimationSortedValueCount
    AnimationData.TargetKeys

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation