pub struct AnimLayer {
pub name: String,
pub weight: f32,
pub blend_mode: LayerBlend,
pub mask: Vec<String>,
pub machine: AnimStateMachine,
}Expand description
An independent layer in the animator, blended into the final pose.
Fields§
§name: String§weight: f32§blend_mode: LayerBlend§mask: Vec<String>Channel paths this layer affects. Empty = all channels.
machine: AnimStateMachineOwn state machine for this layer.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnimLayer
impl RefUnwindSafe for AnimLayer
impl Send for AnimLayer
impl Sync for AnimLayer
impl Unpin for AnimLayer
impl UnsafeUnpin for AnimLayer
impl UnwindSafe for AnimLayer
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