[go: up one dir, main page]

Struct gltf::v1::animation::Animation [] [src]

pub struct Animation {
    pub channels: Vec<Channel>,
    pub parameters: HashMap<String, String>,
    pub samplers: HashMap<String, Sampler>,
    pub name: Option<String>,
}

Fields

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

A dictionary object of strings whose values are IDs of accessors with keyframe data, e.g., time, translation, rotation, etc.

A dictionary object of animation.sampler objects that combines input and output parameters with an interpolation algorithm to define a keyframe graph (but not its target).

The user-defined name of this object.

This is not necessarily unique, e.g., an animation and a buffer could have the same name, or two animations could even have the same name.

Trait Implementations

impl Debug for Animation
[src]

Formats the value using the given formatter.

impl Default for Animation
[src]

Returns the "default value" for a type. Read more