Enum physx_sys::PxHeightFieldTessFlag
source · #[repr(i32)]
pub enum PxHeightFieldTessFlag {
E0ThVertexShared,
}
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<PxHeightFieldTessFlag> for PxHeightFieldTessFlag
impl PartialEq<PxHeightFieldTessFlag> 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 ==
.