docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AnimationBase<TChannel, TSampler>

    A keyframe animation.

    Inheritance
    object
    NamedObject
    AnimationBase
    AnimationBase<TChannel, TSampler>
    Animation
    Animation
    Inherited Members
    NamedObject.name
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class AnimationBase<TChannel, TSampler> : AnimationBase where TChannel : AnimationChannelBase where TSampler : AnimationSampler
    Type Parameters
    Name Description
    TChannel

    Animation channel type

    TSampler

    Animation sampler type

    Fields

    channels

    Declaration
    public TChannel[] channels
    Field Value
    Type Description
    TChannel[]
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-animation

    samplers

    Declaration
    public TSampler[] samplers
    Field Value
    Type Description
    TSampler[]
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-animation

    Properties

    Channels

    An array of channels, each of which targets an animation's sampler at a node's property. Different channels of the same animation can't have equal targets.

    Declaration
    public override IReadOnlyList<AnimationChannelBase> Channels { get; }
    Property Value
    Type Description
    IReadOnlyList<AnimationChannelBase>
    Overrides
    AnimationBase.Channels
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-animation

    Samplers

    An array of samplers that combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).

    Declaration
    public override IReadOnlyList<AnimationSampler> Samplers { get; }
    Property Value
    Type Description
    IReadOnlyList<AnimationSampler>
    Overrides
    AnimationBase.Samplers
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-animation

    See Also

    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-animation
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)