Enum physx::geometry::MeshGeometryFlag
source · pub enum MeshGeometryFlag {
TightBounds,
DoubleSided,
}
Expand description
Flags controlling the simulated behavior of the triangle mesh geometry.
Used in ::PxMeshGeometryFlags.
Variants§
TightBounds
Use tighter (but more expensive to compute) bounds around the triangle mesh geometry.
DoubleSided
Meshes with this flag set are treated as double-sided. This flag is currently only used for raycasts and sweeps (it is ignored for overlap queries). For detailed specifications of this flag for meshes and heightfields please refer to the Geometry Query section of the user guide.
Trait Implementations§
source§impl Clone for PxMeshGeometryFlag
impl Clone for PxMeshGeometryFlag
source§fn clone(&self) -> PxMeshGeometryFlag
fn clone(&self) -> PxMeshGeometryFlag
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 moresource§impl Debug for PxMeshGeometryFlag
impl Debug for PxMeshGeometryFlag
source§impl PartialEq<PxMeshGeometryFlag> for PxMeshGeometryFlag
impl PartialEq<PxMeshGeometryFlag> for PxMeshGeometryFlag
source§fn eq(&self, other: &PxMeshGeometryFlag) -> bool
fn eq(&self, other: &PxMeshGeometryFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.