Struct gltf_json::animation::Animation [] [src]

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
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Animation
[src]

[src]

Formats the value using the given formatter.

impl Validate for Animation
[src]

[src]

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

[src]

Validates the data against the glTF 2.0 specification. Read more