Struct gltf_json::animation::Animation []

pub struct Animation {
    pub extensions: Animation,
    pub extras: Extras,
    pub channels: Vec<Channel>,
    pub samplers: Vec<Sampler>,
}

A keyframe animation.

Fields

Extension specific data.

Optional application specific data.

An array of channels, each of which targets an animation's sampler at a node's property.

Different channels of the same animation must not have equal targets.

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

Trait Implementations

impl Clone for Animation

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Animation

Formats the value using the given formatter.

impl Validate for Animation

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification.