Struct gltf::animation::Channel [−][src]
pub struct Channel<'a> { /* fields omitted */ }Targets an animation's sampler at a node's property.
Methods
impl<'a> Channel<'a>[src]
impl<'a> Channel<'a>pub fn animation(&self) -> Animation<'a>[src]
pub fn animation(&self) -> Animation<'a>Returns the parent Animation struct.
pub fn sampler(&self) -> Sampler<'a>[src]
pub fn sampler(&self) -> Sampler<'a>Returns the sampler in this animation used to compute the value for the target.
pub fn target(&self) -> Target<'a>[src]
pub fn target(&self) -> Target<'a>Returns the node and property to target.
pub fn reader<'s, F>(&self, get_buffer_data: F) -> Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, [src]
pub fn reader<'s, F>(&self, get_buffer_data: F) -> Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, Constructs an animation channel reader.
pub fn extras(&self) -> &Extras[src]
pub fn extras(&self) -> &ExtrasOptional application specific data.
Trait Implementations
impl<'a> Clone for Channel<'a>[src]
impl<'a> Clone for Channel<'a>fn clone(&self) -> Channel<'a>[src]
fn clone(&self) -> Channel<'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 Channel<'a>[src]
impl<'a> Debug for Channel<'a>