#[repr(i32)]pub enum PxHeightFieldFlag {
NoBoundaryEdges = 1,
}Expand description
Enum with flag values to be used in PxHeightFieldDesc.flags.
Variants§
NoBoundaryEdges = 1
Disable collisions with height field with boundary edges.
Raise this flag if several terrain patches are going to be placed adjacent to each other, to avoid a bump when sliding across.
This flag is ignored in contact generation with sphere and capsule shapes.
Trait Implementations§
Source§impl Clone for PxHeightFieldFlag
impl Clone for PxHeightFieldFlag
Source§fn clone(&self) -> PxHeightFieldFlag
fn clone(&self) -> PxHeightFieldFlag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PxHeightFieldFlag
Source§impl Debug for PxHeightFieldFlag
impl Debug for PxHeightFieldFlag
impl Eq for PxHeightFieldFlag
Source§impl PartialEq for PxHeightFieldFlag
impl PartialEq for PxHeightFieldFlag
Source§fn eq(&self, other: &PxHeightFieldFlag) -> bool
fn eq(&self, other: &PxHeightFieldFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PxHeightFieldFlag
Auto Trait Implementations§
impl Freeze for PxHeightFieldFlag
impl RefUnwindSafe for PxHeightFieldFlag
impl Send for PxHeightFieldFlag
impl Sync for PxHeightFieldFlag
impl Unpin for PxHeightFieldFlag
impl UnsafeUnpin for PxHeightFieldFlag
impl UnwindSafe for PxHeightFieldFlag
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