Skip to main content

TweenState

Type Alias TweenState 

Source
pub type TweenState = AnimationState;
Expand description

The lifecycle state of a Tween.

Aliased Type§

pub enum TweenState {
    Idle,
    Running,
    Paused,
    Completed,
    Canceled,
}

Variants§

§

Idle

The animation has not started.

§

Running

The animation is advancing.

§

Paused

The animation is suspended and retains its current value.

§

Completed

The animation reached its final value.

§

Canceled

The animation was canceled before completion.