Struct gltf_json::animation::Animation [−][src]
pub struct Animation {
pub extensions: Option<Animation>,
pub extras: Extras,
pub channels: Vec<Channel>,
pub name: Option<String>,
pub samplers: Vec<Sampler>,
}
Expand description
A keyframe animation.
Fields
extensions: Option<Animation>
Extension specific data.
extras: Extras
Optional application specific data.
channels: Vec<Channel>
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.
name: Option<String>
Optional user-defined name for this object.
samplers: Vec<Sampler>
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Animation
impl UnwindSafe for Animation
Blanket Implementations
Mutably borrows from an owned value. Read more