pub struct Bone { /* private fields */ }Implementations§
Source§impl Bone
impl Bone
pub fn key_bone_id(&self) -> i32
pub fn set_key_bone_id(&mut self, value: i32)
pub fn flags(&self) -> u32
pub fn set_flags(&mut self, value: u32)
pub fn parent_bone_id(&self) -> i16
pub fn set_parent_bone_id(&mut self, value: i16)
pub fn submesh_id(&self) -> u16
pub fn set_submesh_id(&mut self, value: u16)
pub fn bone_name_crc(&self) -> u32
pub fn set_bone_name_crc(&mut self, value: u32)
Sourcepub fn translation(&self) -> Ref<'_, AnimationTrackVector3f>
pub fn translation(&self) -> Ref<'_, AnimationTrackVector3f>
Borrows the field in place — no copy, no allocation.
pub fn translation_mut(&mut self) -> RefMut<'_, AnimationTrackVector3f>
Sourcepub fn rotation(&self) -> Ref<'_, AnimationTrackM2CompatQuaternion>
pub fn rotation(&self) -> Ref<'_, AnimationTrackM2CompatQuaternion>
Borrows the field in place — no copy, no allocation.
pub fn rotation_mut(&mut self) -> RefMut<'_, AnimationTrackM2CompatQuaternion>
Sourcepub fn scale(&self) -> Ref<'_, AnimationTrackVector3f>
pub fn scale(&self) -> Ref<'_, AnimationTrackVector3f>
Borrows the field in place — no copy, no allocation.
pub fn scale_mut(&mut self) -> RefMut<'_, AnimationTrackVector3f>
pub fn pivot(&self) -> Vector3f
pub fn set_pivot(&mut self, value: Vector3f)
Trait Implementations§
impl Send for Bone
Auto Trait Implementations§
impl !Sync for Bone
impl Freeze for Bone
impl RefUnwindSafe for Bone
impl Unpin for Bone
impl UnsafeUnpin 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