pub struct UnityAnimatorController {
pub controller: ObjRef,
pub name: String,
pub layers: Vec<Layer>,
pub state_machines: Vec<StateMachine>,
pub parameters: Vec<Parameter>,
pub default_floats: Vec<f32>,
pub default_ints: Vec<i64>,
pub default_bools: Vec<bool>,
pub clips: Vec<Option<ObjRef>>,
pub behaviours: Vec<ObjRef>,
pub tos: Vec<(u32, String)>,
}Expand description
An AnimatorController object as stored (the compiled ControllerConstant).
Fields§
§controller: ObjRefThe AnimatorController object.
name: Stringm_Name.
layers: Vec<Layer>m_LayerArray.
state_machines: Vec<StateMachine>m_StateMachineArray.
parameters: Vec<Parameter>m_ValueArray.
default_floats: Vec<f32>m_FloatValues of the default values.
default_ints: Vec<i64>m_IntValues of the default values.
default_bools: Vec<bool>m_BoolValues of the default values.
clips: Vec<Option<ObjRef>>The clips the blend trees’ leaves index (m_AnimationClips): one slot per entry, None for a null pointer (a leaf’s
index counts it).
behaviours: Vec<ObjRef>The scripts of the state machine behaviours (m_StateMachineBehaviours), by object.
tos: Vec<(u32, String)>The CRC-32 of a name (a state, path, layer or parameter) and the name (m_TOS).
Implementations§
Trait Implementations§
Source§impl Clone for UnityAnimatorController
impl Clone for UnityAnimatorController
Source§impl Debug for UnityAnimatorController
impl Debug for UnityAnimatorController
Source§impl PartialEq for UnityAnimatorController
impl PartialEq for UnityAnimatorController
Source§impl Serialize for UnityAnimatorController
impl Serialize for UnityAnimatorController
impl StructuralPartialEq for UnityAnimatorController
Auto Trait Implementations§
impl Freeze for UnityAnimatorController
impl RefUnwindSafe for UnityAnimatorController
impl Send for UnityAnimatorController
impl Sync for UnityAnimatorController
impl Unpin for UnityAnimatorController
impl UnsafeUnpin for UnityAnimatorController
impl UnwindSafe for UnityAnimatorController
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more