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]
fn animation(&self) -> Animation<'a>
[src]
Returns the parent Animation
struct.
fn extras(&self) -> &Extras
[src]
Optional application specific data.
fn input(&self) -> Accessor<'a>
[src]
Returns the accessor containing the keyframe input values (e.g. time).
fn interpolation(&self) -> InterpolationAlgorithm
[src]
Returns the keyframe interpolation algorithm.
fn output(&self) -> Accessor<'a>
[src]
Returns the accessor containing the keyframe output values.
Trait Implementations
impl<'a> Clone for Sampler<'a>
[src]
fn clone(&self) -> Sampler<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more