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]
fn new(anim: Animation<'a>, json: &'a Channel) -> Self
Constructs a Channel
.
fn animation(&self) -> Animation<'a>
Returns the parent Animation
struct.
fn as_json(&self) -> &Channel
Returns the internal JSON item.
fn sampler(&self) -> Sampler<'a>
Returns the sampler in this animation used to compute the value for the target.
fn target(&self) -> Target<'a>
Returns the node and TRS property to target.
fn extras(&self) -> &Extras
Optional application specific data.
Trait Implementations
impl<'a> Clone for 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
Performs copy-assignment from source
. Read more