Enum amethyst_animation::AnimationCommand [−][src]
pub enum AnimationCommand<T> where
T: AnimationSampling, { Start, Step(StepDirection), SetInputValue(f32), SetBlendWeights(Vec<(usize, T::Channel, f32)>), Pause, Abort, Init, }
Variants
StartStart the animation, or unpause if it's paused
Step(StepDirection)Step the animation forward/backward (move to the next/previous input value in sequence)
SetInputValue(f32)Forcibly set current interpolation point for the animation, value in seconds
SetBlendWeights(Vec<(usize, T::Channel, f32)>)Set blend weights
PausePause the animation
AbortAbort the animation, will cause the control object to be removed from the world
InitOnly initialise the animation without starting it
Trait Implementations
impl<T: Clone> Clone for AnimationCommand<T> where
T: AnimationSampling,
T::Channel: Clone, [src]
impl<T: Clone> Clone for AnimationCommand<T> where
T: AnimationSampling,
T::Channel: Clone, fn clone(&self) -> AnimationCommand<T>[src]
fn clone(&self) -> AnimationCommand<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T: Debug> Debug for AnimationCommand<T> where
T: AnimationSampling,
T::Channel: Debug, [src]
impl<T: Debug> Debug for AnimationCommand<T> where
T: AnimationSampling,
T::Channel: Debug, Auto Trait Implementations
impl<T> Send for AnimationCommand<T> where
<T as AnimationSampling>::Channel: Send,
impl<T> Send for AnimationCommand<T> where
<T as AnimationSampling>::Channel: Send, impl<T> Sync for AnimationCommand<T> where
<T as AnimationSampling>::Channel: Sync,
impl<T> Sync for AnimationCommand<T> where
<T as AnimationSampling>::Channel: Sync,