Struct skeletal_animation::controller::AnimationControllerDef [] [src]

pub struct AnimationControllerDef {
    pub name: String,
    pub parameters: Vec<String>,
    pub states: Vec<AnimationStateDef>,
    pub initial_state: String,
}

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

Fields

Identifying name for the controller definition

Declaration list of all parameters that are used by the AnimationController, including state transition conditions and blend tree parameters

List of animation state definitions

The name of the state that the AnimationController should start in

Trait Implementations

impl Clone for AnimationControllerDef
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AnimationControllerDef
[src]

[src]

Formats the value using the given formatter.

impl Decodable for AnimationControllerDef
[src]

[src]

Deserialize a value using a Decoder.