Enum physx_sys::PxMeshGeometryFlag
source · #[repr(i32)]pub enum PxMeshGeometryFlag {
TightBounds = 1,
DoubleSided = 2,
}
Expand description
Flags controlling the simulated behavior of the triangle mesh geometry.
Used in ::PxMeshGeometryFlags.
Variants§
TightBounds = 1
Use tighter (but more expensive to compute) bounds around the triangle mesh geometry.
DoubleSided = 2
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 for PxMeshGeometryFlag
impl PartialEq 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 ==
.impl Copy for PxMeshGeometryFlag
impl Eq for PxMeshGeometryFlag
impl StructuralEq for PxMeshGeometryFlag
impl StructuralPartialEq for PxMeshGeometryFlag
Auto Trait Implementations§
impl RefUnwindSafe for PxMeshGeometryFlag
impl Send for PxMeshGeometryFlag
impl Sync for PxMeshGeometryFlag
impl Unpin for PxMeshGeometryFlag
impl UnwindSafe for PxMeshGeometryFlag
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