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: String
The name of the target state to transition to
condition: TransitionCondition
The condition that will be checked in order to determine if the controller should transition to the target state
duration: f32
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]
impl Clone for AnimationTransition
[src]
fn clone(&self) -> AnimationTransition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Decodable for AnimationTransition
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<AnimationTransition, __D::Error>
__arg_0: &mut __D
) -> Result<AnimationTransition, __D::Error>
Deserialize a value using a Decoder
.