Struct skeletal_animation::controller::AnimationTransition [] [src]

pub struct AnimationTransition {
    pub target_state: String,
    pub condition: TransitionCondition,
    pub duration: f32,
}

Representation of a state transition to a target state, with a condition and a duration

Fields

The name of the target state to transition to

The condition that will be checked in order to determine if the controller should transition to the target state

The duration of the transition, during which a linear blend transition between the current and target states should occur

Trait Implementations

impl Debug for AnimationTransition
[src]

Formats the value using the given formatter.

impl Clone for AnimationTransition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for AnimationTransition
[src]

Deserialize a value using a Decoder.