Enum physx_sys::PxHeightFieldTessFlag
source · #[repr(i32)]pub enum PxHeightFieldTessFlag {
E0ThVertexShared = 1,
}
Expand description
Determines the tessellation of height field cells.
Variants§
This flag determines which way each quad cell is subdivided.
The flag lowered indicates subdivision like this: (the 0th vertex is referenced by only one triangle)
+–+–+–+—> column | /| /| /| |/ |/ |/ | +–+–+–+ | /| /| /| |/ |/ |/ | +–+–+–+ | | V row
The flag raised indicates subdivision like this: (the 0th vertex is shared by two triangles)
+–+–+–+—> column
|
|
|
|
|
|
|
|
+–+–+–+
|
|
|
|
|
|
|
|
+–+–+–+
|
|
V row
Trait Implementations§
source§impl Clone for PxHeightFieldTessFlag
impl Clone for PxHeightFieldTessFlag
source§fn clone(&self) -> PxHeightFieldTessFlag
fn clone(&self) -> PxHeightFieldTessFlag
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 PxHeightFieldTessFlag
impl Debug for PxHeightFieldTessFlag
source§impl PartialEq for PxHeightFieldTessFlag
impl PartialEq for PxHeightFieldTessFlag
source§fn eq(&self, other: &PxHeightFieldTessFlag) -> bool
fn eq(&self, other: &PxHeightFieldTessFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxHeightFieldTessFlag
impl Eq for PxHeightFieldTessFlag
impl StructuralEq for PxHeightFieldTessFlag
impl StructuralPartialEq for PxHeightFieldTessFlag
Auto Trait Implementations§
impl RefUnwindSafe for PxHeightFieldTessFlag
impl Send for PxHeightFieldTessFlag
impl Sync for PxHeightFieldTessFlag
impl Unpin for PxHeightFieldTessFlag
impl UnwindSafe for PxHeightFieldTessFlag
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