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 Decodable for AnimationControllerDef
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AnimationControllerDef, __D::Error>
impl Debug for AnimationControllerDef
[src]
impl Clone for AnimationControllerDef
[src]
fn clone(&self) -> AnimationControllerDef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more