Struct skeletal_animation::controller::TransitionCondition [] [src]

pub struct TransitionCondition {
    pub parameter: String,
    pub operator: Operator,
    pub value: f32,
}

Representation of a condition to check for an AnimationTransition

Fields

The name of the controller parameter to compare with

The comparision operator to use

The constant value to compare with the controller parameter value

Methods

impl TransitionCondition
[src]

Returns true if the condition is satisfied

Trait Implementations

impl Debug for TransitionCondition
[src]

Formats the value using the given formatter.

impl Clone for TransitionCondition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for TransitionCondition
[src]

Deserialize a value using a Decoder.