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
target_state | The name of the target state to transition to |
condition | The condition that will be checked in order to determine if the controller should transition to the target state |
duration | The duration of the transition, during which a linear blend transition between the current and target states should occur |