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>
Returns the parent Animation
struct.
fn as_json(&self) -> &Sampler
Returns the internal JSON item.
fn extras(&self) -> &Extras
Optional application specific data.
fn input(&self) -> Accessor<'a>
The index of an accessor containing keyframe input values, e.g., time.
fn interpolation(&self) -> InterpolationAlgorithm
The interpolation algorithm.
fn output(&self) -> Accessor<'a>
The index of an accessor containing keyframe output values.
Trait Implementations
impl<'a> Clone for 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
Performs copy-assignment from source
. Read more