pub struct SkeletonBone {
pub name: String,
pub parent: String,
pub position: [f32; 3],
pub rotation: [f32; 4],
pub scale: [f32; 3],
}Expand description
One bone of the HumanDescription’s skeleton: its name, its parent’s, and its local transform.
Fields§
§name: Stringm_Name.
parent: Stringm_ParentName.
position: [f32; 3]m_Position.
rotation: [f32; 4]m_Rotation, a quaternion [x, y, z, w].
scale: [f32; 3]m_Scale.
Trait Implementations§
Source§impl Clone for SkeletonBone
impl Clone for SkeletonBone
Source§impl Debug for SkeletonBone
impl Debug for SkeletonBone
Source§impl PartialEq for SkeletonBone
impl PartialEq for SkeletonBone
Source§impl Serialize for SkeletonBone
impl Serialize for SkeletonBone
impl StructuralPartialEq for SkeletonBone
Auto Trait Implementations§
impl Freeze for SkeletonBone
impl RefUnwindSafe for SkeletonBone
impl Send for SkeletonBone
impl Sync for SkeletonBone
impl Unpin for SkeletonBone
impl UnsafeUnpin for SkeletonBone
impl UnwindSafe for SkeletonBone
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