pub struct Layer {
pub state_machine: i64,
pub synchronized_layer: i64,
pub body_mask: [u32; 3],
pub skeleton_mask: Vec<(u32, f32)>,
pub binding: u32,
pub blending_mode: i64,
pub default_weight: f32,
pub ik_pass: bool,
pub synced_layer_affects_timing: bool,
}Expand description
A layer (LayerConstant): the state machine it runs, the body and skeleton masks, how it blends in.
Fields§
§state_machine: i64m_StateMachineIndex: an index of the controller’s state machines.
synchronized_layer: i64m_StateMachineSynchronizedLayerIndex.
body_mask: [u32; 3]m_BodyMask’s three words.
skeleton_mask: Vec<(u32, f32)>m_SkeletonMask: the CRC-32 of a path and its weight.
binding: u32The CRC-32 of the layer’s name.
blending_mode: i64m_LayerBlendingMode.
default_weight: f32m_DefaultWeight.
ik_pass: boolm_IKPass.
synced_layer_affects_timing: boolm_SyncedLayerAffectsTiming.
Trait Implementations§
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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