Struct amethyst_animation::SamplerControlSet [] [src]

pub struct SamplerControlSet {
    pub translation: Option<SamplerControl>,
    pub rotation: Option<SamplerControl>,
    pub scale: Option<SamplerControl>,
}

Sampler control set, containing optional samplers for each of the possible channels.

Note that the AnimationOutput in the Sampler referenced, and the RestState referenced in each SamplerControl should match the attribute channel from the set here. There is no check made by the system that this is the case.

Fields

Trait Implementations

impl Clone for SamplerControlSet
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for SamplerControlSet
[src]

[src]

Returns the "default value" for a type. Read more

impl Component for SamplerControlSet
[src]

Associated storage type for this component.