Struct physx::geometry::PxHeightFieldGeometry
source · pub struct PxHeightFieldGeometry {
pub structgen_pad0: [u8; 4],
pub mTypePadding: f32,
pub heightField: *mut PxHeightField,
pub heightScale: f32,
pub rowScale: f32,
pub columnScale: f32,
pub heightFieldFlags: PxMeshGeometryFlags,
pub structgen_pad1: [u8; 3],
}
Fields§
§structgen_pad0: [u8; 4]
§mTypePadding: f32
§heightField: *mut PxHeightField
§heightScale: f32
§rowScale: f32
§columnScale: f32
§heightFieldFlags: PxMeshGeometryFlags
§structgen_pad1: [u8; 3]
Trait Implementations§
source§impl Class<PxGeometry> for PxHeightFieldGeometry
impl Class<PxGeometry> for PxHeightFieldGeometry
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<PxHeightFieldGeometry> for PxHeightFieldGeometry
impl Class<PxHeightFieldGeometry> for PxHeightFieldGeometry
source§fn as_ptr(&self) -> *const PxHeightFieldGeometry
fn as_ptr(&self) -> *const PxHeightFieldGeometry
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 PxHeightFieldGeometry
fn as_mut_ptr(&mut self) -> *mut PxHeightFieldGeometry
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 PxHeightFieldGeometry
impl Clone for PxHeightFieldGeometry
source§fn clone(&self) -> PxHeightFieldGeometry
fn clone(&self) -> PxHeightFieldGeometry
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