Struct amethyst_animation::AnimationControl
[−]
[src]
pub struct AnimationControl { pub animation: Handle<Animation>, pub end: EndControl, pub state: ControlState, pub command: AnimationCommand, }
Attaches to an entity, to control what animations are currently active
Fields
animation: Handle<Animation>
Animation handle
end: EndControl
What to do when animation ends
state: ControlState
State of animation
command: AnimationCommand
Animation command
Trait Implementations
impl Clone for AnimationControl
[src]
fn clone(&self) -> AnimationControl
[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 Debug for AnimationControl
[src]
impl Component for AnimationControl
[src]
type Storage = DenseVecStorage<Self>
Associated storage type for this component.