pub struct Pose { /* private fields */ }Implementations§
Source§impl Pose
impl Pose
pub fn rest(skeleton: &Skeleton) -> Self
pub fn reset(&mut self, skeleton: &Skeleton)
pub fn locals(&self) -> &[Trs]
pub fn locals_mut(&mut self) -> &mut [Trs]
pub fn mix(&mut self, other: &Pose, weight: f32)
pub fn globals(&self, skeleton: &Skeleton) -> Vec<Mat4> ⓘ
pub fn palette(&self, skeleton: &Skeleton) -> Vec<Mat4> ⓘ
pub fn palette_into(&self, skeleton: &Skeleton, out: &mut Vec<Mat4>)
Trait Implementations§
impl StructuralPartialEq for Pose
Auto Trait Implementations§
impl Freeze for Pose
impl RefUnwindSafe for Pose
impl Send for Pose
impl Sync for Pose
impl Unpin for Pose
impl UnsafeUnpin for Pose
impl UnwindSafe for Pose
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