pub struct PoseArena { /* private fields */ }Implementations§
Source§impl PoseArena
impl PoseArena
pub fn new(bone_count: usize) -> Self
pub fn new_with_morphs(bone_count: usize, morph_count: usize) -> Self
pub fn new_with_counts( bone_count: usize, morph_count: usize, ik_count: usize, ) -> Self
pub fn reset_local_pose(&mut self)
pub fn set_local_position_offset(&mut self, bone: BoneIndex, value: Vec3A)
pub fn set_local_rotation(&mut self, bone: BoneIndex, value: Quat)
pub fn set_local_scale(&mut self, bone: BoneIndex, value: Vec3A)
pub fn local_position_offset(&self, bone: BoneIndex) -> Vec3A
pub fn local_rotation(&self, bone: BoneIndex) -> Quat
pub fn local_scale(&self, bone: BoneIndex) -> Vec3A
pub fn set_morph_weight(&mut self, morph: MorphIndex, value: f32)
pub fn morph_weight(&self, morph: MorphIndex) -> f32
pub fn morph_weights(&self) -> &[f32]
pub fn set_ik_enabled(&mut self, ik_index: usize, enabled: bool)
pub fn ik_enabled(&self) -> &[u8] ⓘ
pub fn world_matrices(&self) -> &[Mat4]
pub fn skinning_matrices(&self) -> &[Mat4]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoseArena
impl RefUnwindSafe for PoseArena
impl Send for PoseArena
impl Sync for PoseArena
impl Unpin for PoseArena
impl UnsafeUnpin for PoseArena
impl UnwindSafe for PoseArena
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