Struct gltf::animation::Sampler [−][src]
pub struct Sampler<'a> { /* fields omitted */ }
Defines a keyframe graph (but not its target).
Methods
impl<'a> Sampler<'a>
[src]
impl<'a> Sampler<'a>
pub fn animation(&self) -> Animation<'a>
[src]
pub fn animation(&self) -> Animation<'a>
Returns the parent Animation
struct.
pub fn extras(&self) -> &Extras
[src]
pub fn extras(&self) -> &Extras
Optional application specific data.
pub fn input(&self) -> Accessor<'a>
[src]
pub fn input(&self) -> Accessor<'a>
Returns the accessor containing the keyframe input values (e.g. time).
pub fn interpolation(&self) -> Interpolation
[src]
pub fn interpolation(&self) -> Interpolation
Returns the keyframe interpolation algorithm.
pub fn output(&self) -> Accessor<'a>
[src]
pub fn output(&self) -> Accessor<'a>
Returns the accessor containing the keyframe output values.
Trait Implementations
impl<'a> Clone for Sampler<'a>
[src]
impl<'a> Clone for Sampler<'a>
fn clone(&self) -> Sampler<'a>
[src]
fn clone(&self) -> Sampler<'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 Sampler<'a>
[src]
impl<'a> Debug for Sampler<'a>