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
name: String
Identifying name for the controller definition
parameters: Vec<String>
Declaration list of all parameters that are used by the AnimationController, including state transition conditions and blend tree parameters
states: Vec<AnimationStateDef>
List of animation state definitions
initial_state: String
The name of the state that the AnimationController should start in
Trait Implementations
impl Clone for AnimationControllerDef
[src]
fn clone(&self) -> AnimationControllerDef
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more