Struct physx::geometry::PxTriangleMeshGeometry
source · pub struct PxTriangleMeshGeometry {
pub structgen_pad0: [u8; 4],
pub mTypePadding: f32,
pub scale: PxMeshScale,
pub meshFlags: PxMeshGeometryFlags,
pub structgen_pad1: [u8; 3],
pub triangleMesh: *mut PxTriangleMesh,
}
Fields§
§structgen_pad0: [u8; 4]
§mTypePadding: f32
§scale: PxMeshScale
§meshFlags: PxMeshGeometryFlags
§structgen_pad1: [u8; 3]
§triangleMesh: *mut PxTriangleMesh
Trait Implementations§
source§impl Class<PxGeometry> for PxTriangleMeshGeometry
impl Class<PxGeometry> for PxTriangleMeshGeometry
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 Class<PxTriangleMeshGeometry> for PxTriangleMeshGeometry
impl Class<PxTriangleMeshGeometry> for PxTriangleMeshGeometry
source§fn as_ptr(&self) -> *const PxTriangleMeshGeometry
fn as_ptr(&self) -> *const PxTriangleMeshGeometry
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 PxTriangleMeshGeometry
fn as_mut_ptr(&mut self) -> *mut PxTriangleMeshGeometry
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 PxTriangleMeshGeometry
impl Clone for PxTriangleMeshGeometry
source§fn clone(&self) -> PxTriangleMeshGeometry
fn clone(&self) -> PxTriangleMeshGeometry
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