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
Fields
name: String
The identifying name for the state
blend_tree: BlendTreeNodeDef
The blend tree definition for this state
transitions: Vec<AnimationTransition>
The transitions to other states that can occur from this state
Trait Implementations
impl Clone for AnimationStateDef
[src]
fn clone(&self) -> AnimationStateDef
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
impl Debug for AnimationStateDef
[src]
impl Decodable for AnimationStateDef
[src]
fn decode<D: Decoder>(decoder: &mut D) -> Result<AnimationStateDef, D::Error>
Deserialize a value using a Decoder
.