pub struct Animation {
pub extensions: Option<Animation>,
pub extras: Extras,
pub channels: Vec<Channel>,
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.
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§
source§impl<'de> Deserialize<'de> for Animation
impl<'de> Deserialize<'de> for Animation
source§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