docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Animation

    A keyframe animation.

    Inheritance
    object
    NamedObject
    Animation
    Inherited Members
    NamedObject.Name
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Gltfast.Objects
    Assembly: Unity.Cloud.Gltfast.dll
    Syntax
    [MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
    public class Animation : NamedObject

    Properties

    AdditionalProperties

    Additional properties on glTF JSON objects. Those properties may have been added by a new, unsupported version of the glTF specification. For extending glTF, please use extensions or extras instead.

    Declaration
    [JsonIgnore]
    public ReadOnlyProperties AdditionalProperties { get; }
    Property Value
    Type Description
    ReadOnlyProperties
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-animation

    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
    [JsonPropertyName("channels")]
    public List<AnimationChannel> Channels { get; set; }
    Property Value
    Type Description
    List<AnimationChannel>
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-animation

    Extensions

    JSON object with extension-specific objects.

    Declaration
    [JsonPropertyName("extensions")]
    public AnimationExtensions Extensions { get; set; }
    Property Value
    Type Description
    AnimationExtensions
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-extension

    Extras

    Application-specific data.

    Declaration
    [JsonPropertyName("extras")]
    [JsonConverter(typeof(ExtrasConverter))]
    public ExtrasContainer Extras { get; set; }
    Property Value
    Type Description
    ExtrasContainer
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-extras

    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
    [JsonPropertyName("samplers")]
    public List<AnimationSampler> Samplers { get; set; }
    Property Value
    Type Description
    List<AnimationSampler>
    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 © 2026 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)