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
channels: Vec<Channel>
An array of channels, each of which targets an animation's sampler at a node's property.
parameters: HashMap<String, String>
A dictionary object of strings whose values are IDs of accessors with keyframe data, e.g., time, translation, rotation, etc.
samplers: HashMap<String, Sampler>
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).
name: Option<String>
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.