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
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more