Struct rust_raylib::ffi::ModelAnimation
source · #[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 copy 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 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