pub struct Bone {
pub name: String,
pub parent_index: i32,
pub position: [f32; 3],
pub rotation: [f32; 4],
pub scale: [f32; 3],
}
Fields§
§name: String
Name of the bone
parent_index: i32
Index of the parent bone in the Skeleton’s bones
vector
position: [f32; 3]
Position of the bone
rotation: [f32; 4]
Rotation quanternion of the bone
scale: [f32; 3]
Scale of the bone
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bone
impl RefUnwindSafe for Bone
impl Send for Bone
impl Sync for Bone
impl Unpin for Bone
impl UnwindSafe for Bone
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