#[repr(C)]pub struct b3CompoundMeshDef {
pub meshData: *const b3MeshData,
pub transform: b3Transform,
pub scale: b3Vec3,
pub materials: *const b3SurfaceMaterial,
pub materialCount: c_int,
}Expand description
Definition for a triangle mesh in a compound shape.
Fields§
§meshData: *const b3MeshDataShared mesh.
transform: b3TransformTransform of the shared mesh into compound local space.
scale: b3Vec3Local space non-uniform mesh scale. May have negative components.
materials: *const b3SurfaceMaterialMaterial properties. This array must line up with the material indices on the triangles.
materialCount: c_intNumber of materials.
Trait Implementations§
Source§impl Clone for b3CompoundMeshDef
impl Clone for b3CompoundMeshDef
Source§fn clone(&self) -> b3CompoundMeshDef
fn clone(&self) -> b3CompoundMeshDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for b3CompoundMeshDef
Auto Trait Implementations§
impl !Send for b3CompoundMeshDef
impl !Sync for b3CompoundMeshDef
impl Freeze for b3CompoundMeshDef
impl RefUnwindSafe for b3CompoundMeshDef
impl Unpin for b3CompoundMeshDef
impl UnsafeUnpin for b3CompoundMeshDef
impl UnwindSafe for b3CompoundMeshDef
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