Struct amethyst_animation::Sampler
[−]
[src]
pub struct Sampler { pub input: Vec<f32>, pub output: AnimationOutput, pub ty: InterpolationType, }
Sampler defines a single animation for a single attribute of the LocalTransform
of the entity
it is attached to.
Fields
input: Vec<f32>
Time of key frames
output: AnimationOutput
Actual output data to interpolate
ty: InterpolationType
How should interpolation be done
Trait Implementations
impl Debug for Sampler
[src]
impl Clone for Sampler
[src]
fn clone(&self) -> Sampler
[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
impl Asset for Sampler
[src]
type Data = Self
The Data
type the asset can be created from.
type HandleStorage = VecStorage<Handle<Self>>
The ECS storage type to be used. You'll want to use VecStorage
in most cases.