Struct amethyst_animation::SamplerControl [] [src]

pub struct SamplerControl {
    pub sampler: Handle<Sampler>,
    pub state: ControlState,
    pub end: EndControl,
    pub after: RestState,
}

Run the sampler on the attached entity

Fields

Sampler

State of sampling

What to do when sampler ends

What the transform should return to after end

Trait Implementations

impl Clone for SamplerControl
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more