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

Time of key frames

Actual output data to interpolate

How should interpolation be done

Trait Implementations

impl Debug for Sampler
[src]

[src]

Formats the value using the given formatter.

impl Clone for Sampler
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Asset for Sampler
[src]

The Data type the asset can be created from.

The ECS storage type to be used. You'll want to use VecStorage in most cases.

impl Into<Result<Sampler>> for Sampler
[src]

[src]

Performs the conversion.