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

What to do when animation ends

State of animation

Animation command

Trait Implementations

impl Clone for AnimationControl
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AnimationControl
[src]

[src]

Formats the value using the given formatter.

impl Component for AnimationControl
[src]

Associated storage type for this component.