#[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 duplicate 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
impl Copy for PxHeightFieldTessFlag
impl Eq for PxHeightFieldTessFlag
impl StructuralPartialEq for PxHeightFieldTessFlag
Auto Trait Implementations§
impl Freeze for PxHeightFieldTessFlag
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