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



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

Derived Implementations

impl Decodable for AnimationControllerDef

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AnimationControllerDef, __D>

impl Debug for AnimationControllerDef

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for AnimationControllerDef

fn clone(&self) -> AnimationControllerDef

fn clone_from(&mut self, source: &Self)