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
translation: Option<SamplerControl>
rotation: Option<SamplerControl>
scale: Option<SamplerControl>
Trait Implementations
impl Clone for SamplerControlSet
[src]
fn clone(&self) -> SamplerControlSet
[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 Default for SamplerControlSet
[src]
fn default() -> SamplerControlSet
[src]
Returns the "default value" for a type. Read more
impl Component for SamplerControlSet
[src]
type Storage = DenseVecStorage<Self>
Associated storage type for this component.