pub struct MaskedJoint {
pub skeleton: Entity,
pub joint: JointId,
pub weight: f32,
}Expand description
One joint’s weight in a layer’s mask, named as core.clip names a joint channel’s target: by the skeleton and the
joint’s identity in it (never by name). A controller may therefore be bound to any rig whose skeleton an entry names;
the entries of another skeleton do not apply to it.
Fields§
§skeleton: Entity§joint: JointId§weight: f32Finite, 0 to 1; a source’s weight outside that range is not lowered (never clamped).
Trait Implementations§
Source§impl Clone for MaskedJoint
impl Clone for MaskedJoint
impl Copy for MaskedJoint
Source§impl Debug for MaskedJoint
impl Debug for MaskedJoint
Source§impl<'de> Deserialize<'de> for MaskedJoint
impl<'de> Deserialize<'de> for MaskedJoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MaskedJoint
impl PartialEq for MaskedJoint
Source§impl Serialize for MaskedJoint
impl Serialize for MaskedJoint
impl StructuralPartialEq for MaskedJoint
Auto Trait Implementations§
impl Forget for MaskedJoint
impl Freeze for MaskedJoint
impl RefUnwindSafe for MaskedJoint
impl Send for MaskedJoint
impl Sync for MaskedJoint
impl Unpin for MaskedJoint
impl UnsafeUnpin for MaskedJoint
impl UnwindSafe for MaskedJoint
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