Struct dotrix_core::animation::Animator [−][src]
pub struct Animator {
pub speed: f32,
// some fields omitted
}
Expand description
Component to control model animation
Fields
speed: f32
animation speed
Implementations
creates new component instance with specified animation with State::Stop
creates new component instance with specified animation with State::Play
creates new component instance with specified animation with State::Loop
Starts current animation looped
Auto Trait Implementations
impl RefUnwindSafe for Animator
impl UnwindSafe for Animator
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more