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



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

Derived Implementations

impl Decodable for AnimationTransition

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AnimationTransition, __D>

impl Clone for AnimationTransition

fn clone(&self) -> AnimationTransition

fn clone_from(&mut self, source: &Self)

impl Debug for AnimationTransition

fn fmt(&self, __arg_0: &mut Formatter) -> Result