pub struct RotationConstraint {
pub source: u32,
pub weight: f32,
}Expand description
A rotation constraint: copy the source’s local rotation delta (relative to its rest pose) onto the destination.
Fields§
§source: u32Raw glTF node index whose local rotation delta is copied.
weight: f32Constraint influence in the inclusive range from zero to one.
Trait Implementations§
Source§impl Clone for RotationConstraint
impl Clone for RotationConstraint
Source§impl Debug for RotationConstraint
impl Debug for RotationConstraint
Source§impl<'de> Deserialize<'de> for RotationConstraint
impl<'de> Deserialize<'de> for RotationConstraint
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
Auto Trait Implementations§
impl Freeze for RotationConstraint
impl RefUnwindSafe for RotationConstraint
impl Send for RotationConstraint
impl Sync for RotationConstraint
impl Unpin for RotationConstraint
impl UnsafeUnpin for RotationConstraint
impl UnwindSafe for RotationConstraint
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