Struct gltf::Animation [−][src]
pub struct Animation<'a> { /* fields omitted */ }A keyframe animation.
Methods
impl<'a> Animation<'a>[src]
impl<'a> Animation<'a>pub fn index(&self) -> usize[src]
pub fn index(&self) -> usizeReturns the internal JSON index.
pub fn extras(&self) -> &Extras[src]
pub fn extras(&self) -> &ExtrasOptional application specific data.
ⓘImportant traits for Channels<'a>pub fn channels(&self) -> Channels<'a>[src]
ⓘImportant traits for Channels<'a>
pub fn channels(&self) -> Channels<'a>Returns an Iterator over the animation channels.
Each channel targets an animation's sampler at a node's property.
pub fn name(&self) -> Option<&str>[src]
pub fn name(&self) -> Option<&str>Optional user-defined name for this object.
ⓘImportant traits for Samplers<'a>pub fn samplers(&self) -> Samplers<'a>[src]
ⓘImportant traits for Samplers<'a>
pub fn samplers(&self) -> Samplers<'a>Returns an Iterator over the animation samplers.
Each sampler combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).
Trait Implementations
impl<'a> Clone for Animation<'a>[src]
impl<'a> Clone for Animation<'a>fn clone(&self) -> Animation<'a>[src]
fn clone(&self) -> Animation<'a>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<'a> Debug for Animation<'a>[src]
impl<'a> Debug for Animation<'a>