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



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 Decodable for AnimationStateDef

fn decode<D: Decoder>(decoder: &mut D) -> Result<AnimationStateDef, D>

Derived Implementations

impl Debug for AnimationStateDef

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

impl Clone for AnimationStateDef

fn clone(&self) -> AnimationStateDef

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