Struct rust_raylib::ffi::Model
source · #[repr(C)]pub struct Model {
pub transform: Matrix,
pub meshCount: c_int,
pub materialCount: c_int,
pub meshes: *mut Mesh,
pub materials: *mut Material,
pub meshMaterial: *mut c_int,
pub boneCount: c_int,
pub bones: *mut BoneInfo,
pub bindPose: *mut Transform,
}Expand description
Model, meshes, materials and animation data
Fields§
§transform: MatrixLocal transform matrix
meshCount: c_intNumber of meshes
materialCount: c_intNumber of materials
meshes: *mut MeshMeshes array
materials: *mut MaterialMaterials array
meshMaterial: *mut c_intMesh material number
boneCount: c_intNumber of bones
bones: *mut BoneInfoBones information (skeleton)
bindPose: *mut TransformBones base transformation (pose)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Model
impl !Send for Model
impl !Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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