pub struct WeakModel(/* private fields */);Implementations§
Trait Implementations§
Source§impl RaylibModel for WeakModel
impl RaylibModel for WeakModel
fn transform(&self) -> &Matrix
fn set_transform(&mut self, mat: &Matrix)
fn meshes(&self) -> &[WeakMesh]
fn meshes_mut(&mut self) -> &mut [WeakMesh]
fn materials(&self) -> &[WeakMaterial]
fn materials_mut(&mut self) -> &mut [WeakMaterial]
fn bones(&self) -> Option<&[BoneInfo]>
fn bones_mut(&mut self) -> Option<&mut [BoneInfo]>
fn bind_pose(&self) -> Option<&Transform>
fn bind_pose_mut(&mut self) -> Option<&mut Transform>
Source§fn is_model_animation_valid(&self, anim: &ModelAnimation) -> bool
fn is_model_animation_valid(&self, anim: &ModelAnimation) -> bool
Check model animation skeleton match
Source§fn is_model_valid(&self) -> bool
fn is_model_valid(&self) -> bool
Check if a model is ready
Source§fn get_model_bounding_box(&self) -> BoundingBox
fn get_model_bounding_box(&self) -> BoundingBox
Compute model bounding box limits (considers all meshes)
Auto Trait Implementations§
impl Freeze for WeakModel
impl RefUnwindSafe for WeakModel
impl !Send for WeakModel
impl !Sync for WeakModel
impl Unpin for WeakModel
impl UnsafeUnpin for WeakModel
impl UnwindSafe for WeakModel
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