Trait raylib::core::models::RaylibModel [−][src]
pub trait RaylibModel: AsRef<Model> + AsMut<Model> {
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> { ... }
fn is_model_animation_valid(&self, anim: &ModelAnimation) -> bool { ... }
}
Provided methods
fn set_transform(&mut self, mat: &Matrix)
fn meshes_mut(&mut self) -> &mut [WeakMesh]
fn materials(&self) -> &[WeakMaterial]
fn materials_mut(&mut self) -> &mut [WeakMaterial]
fn bind_pose_mut(&mut self) -> Option<&mut Transform>
fn is_model_animation_valid(&self, anim: &ModelAnimation) -> bool
fn is_model_animation_valid(&self, anim: &ModelAnimation) -> bool
Check model animation skeleton match