pub struct Bone<'a>(/* private fields */);
Expand description
Bone type
Implementations§
Source§impl<'a> Bone<'a>
impl<'a> Bone<'a>
Sourcepub fn offset_matrix(&self) -> Matrix4x4
pub fn offset_matrix(&self) -> Matrix4x4
Returns the bones’s offset transformation matrix.
pub fn num_weights(&self) -> u32
pub fn weight_iter(&self) -> VertexWeightIter<'_> ⓘ
pub fn get_weight(&self, id: u32) -> Option<VertexWeight<'_>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Bone<'a>
impl<'a> RefUnwindSafe for Bone<'a>
impl<'a> !Send for Bone<'a>
impl<'a> !Sync for Bone<'a>
impl<'a> Unpin for Bone<'a>
impl<'a> UnwindSafe for Bone<'a>
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