#[repr(C)]pub struct ModelAnimation {
pub boneCount: c_int,
pub frameCount: c_int,
pub bones: *mut BoneInfo,
pub framePoses: *mut *mut Transform,
}
Expand description
ModelAnimation
Fields§
§boneCount: c_int
Number of bones
frameCount: c_int
Number of animation frames
bones: *mut BoneInfo
Bones information (skeleton)
framePoses: *mut *mut Transform
Poses array by frame
Trait Implementations§
Source§impl Clone for ModelAnimation
impl Clone for ModelAnimation
Source§fn clone(&self) -> ModelAnimation
fn clone(&self) -> ModelAnimation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ModelAnimation
impl RefUnwindSafe for ModelAnimation
impl !Send for ModelAnimation
impl !Sync for ModelAnimation
impl Unpin for ModelAnimation
impl UnwindSafe for ModelAnimation
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