Struct physx::geometry::PxConvexMeshGeometry
source · pub struct PxConvexMeshGeometry {
pub structgen_pad0: [u8; 4],
pub mTypePadding: f32,
pub scale: PxMeshScale,
pub structgen_pad1: [u8; 4],
pub convexMesh: *mut PxConvexMesh,
pub meshFlags: PxConvexMeshGeometryFlags,
pub structgen_pad2: [u8; 7],
}
Fields§
§structgen_pad0: [u8; 4]
§mTypePadding: f32
§scale: PxMeshScale
§structgen_pad1: [u8; 4]
§convexMesh: *mut PxConvexMesh
§meshFlags: PxConvexMeshGeometryFlags
§structgen_pad2: [u8; 7]
Trait Implementations§
source§impl Class<PxConvexMeshGeometry> for PxConvexMeshGeometry
impl Class<PxConvexMeshGeometry> for PxConvexMeshGeometry
source§fn as_ptr(&self) -> *const PxConvexMeshGeometry
fn as_ptr(&self) -> *const PxConvexMeshGeometry
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§fn as_mut_ptr(&mut self) -> *mut PxConvexMeshGeometry
fn as_mut_ptr(&mut self) -> *mut PxConvexMeshGeometry
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§impl Class<PxGeometry> for PxConvexMeshGeometry
impl Class<PxGeometry> for PxConvexMeshGeometry
source§fn as_ptr(&self) -> *const PxGeometry
fn as_ptr(&self) -> *const PxGeometry
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§fn as_mut_ptr(&mut self) -> *mut PxGeometry
fn as_mut_ptr(&mut self) -> *mut PxGeometry
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§impl Clone for PxConvexMeshGeometry
impl Clone for PxConvexMeshGeometry
source§fn clone(&self) -> PxConvexMeshGeometry
fn clone(&self) -> PxConvexMeshGeometry
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 more