pub struct SkinWeight3D { /* private fields */ }Expand description
Per-vertex 4-bone linear-blend skeletal skinning weights.
Implementations§
Source§impl SkinWeight3D
impl SkinWeight3D
pub fn get_joint_indices(&self) -> [u16; 4]
pub fn get_mut_joint_indices(&mut self) -> &mut [u16; 4]
pub fn set_joint_indices(&mut self, val: [u16; 4]) -> &mut Self
pub fn get_weights(&self) -> [f32; 4]
pub fn get_mut_weights(&mut self) -> &mut [f32; 4]
pub fn set_weights(&mut self, val: [f32; 4]) -> &mut Self
Trait Implementations§
Source§impl Clone for SkinWeight3D
impl Clone for SkinWeight3D
impl Copy for SkinWeight3D
Source§impl Debug for SkinWeight3D
impl Debug for SkinWeight3D
Source§impl PartialEq for SkinWeight3D
impl PartialEq for SkinWeight3D
impl StructuralPartialEq for SkinWeight3D
Auto Trait Implementations§
impl Forget for SkinWeight3D
impl Freeze for SkinWeight3D
impl Move for SkinWeight3D
impl RefUnwindSafe for SkinWeight3D
impl Send for SkinWeight3D
impl Sync for SkinWeight3D
impl Unpin for SkinWeight3D
impl UnsafeUnpin for SkinWeight3D
impl UnwindSafe for SkinWeight3D
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