pub struct SkeletonPose<'a> { /* private fields */ }
Expand description
Implementations§
Source§impl<'a> SkeletonPose<'a>
impl<'a> SkeletonPose<'a>
Sourcepub fn new(skeleton: &'a Skeleton) -> Self
pub fn new(skeleton: &'a Skeleton) -> Self
Create a new SkeletonPose for a Skeleton
The Skeleton must have been resolved
Sourcepub fn derive_animation(&mut self)
pub fn derive_animation(&mut self)
Derive the animation for the current poses of the SkeletonPose
This traverses the hierarchy as required
Trait Implementations§
Source§impl<'a, 'b, Opt: IndentedOptions<'a>> IndentedDisplay<'a, Opt> for SkeletonPose<'b>
impl<'a, 'b, Opt: IndentedOptions<'a>> IndentedDisplay<'a, Opt> for SkeletonPose<'b>
Auto Trait Implementations§
impl<'a> Freeze for SkeletonPose<'a>
impl<'a> RefUnwindSafe for SkeletonPose<'a>
impl<'a> Send for SkeletonPose<'a>
impl<'a> Sync for SkeletonPose<'a>
impl<'a> Unpin for SkeletonPose<'a>
impl<'a> UnwindSafe for SkeletonPose<'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