Struct skeletal_animation::controller::AnimationStateDef [] [src]

pub struct AnimationStateDef {
    pub name: String,
    pub blend_tree: BlendTreeNodeDef,
    pub transitions: Vec<AnimationTransition>,
}

Definition struct for an AnimationState, which can be deserialized from JSON and converted to an AnimationState instance at runtime

Fields

The identifying name for the state

The blend tree definition for this state

The transitions to other states that can occur from this state

Trait Implementations

impl Clone for AnimationStateDef
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AnimationStateDef
[src]

[src]

Formats the value using the given formatter.

impl Decodable for AnimationStateDef
[src]

[src]

Deserialize a value using a Decoder.