pub type LEAP_BONE = _LEAP_BONE;Expand description
\ingroup Structs Describes a bone’s position and orientation.
Bones are members of the LEAP_DIGIT struct. @since 3.0.0
Aliased Type§
#[repr(C, packed(1))]pub struct LEAP_BONE {
pub prev_joint: _LEAP_VECTOR,
pub next_joint: _LEAP_VECTOR,
pub width: f32,
pub rotation: _LEAP_QUATERNION,
}Fields§
§prev_joint: _LEAP_VECTORThe base of the bone, closer to the heart. The bones origin. @since 3.0.0
next_joint: _LEAP_VECTORThe end of the bone, further from the heart. @since 3.0.0
width: f32The average width of the flesh around the bone in millimeters. @since 3.0.0
rotation: _LEAP_QUATERNIONRotation in world space from the forward direction. Convert the quaternion to a matrix to derive the basis vectors. @since 3.1.2