Enum physx_sys::PxContactPatchFlags
source · #[repr(i32)]pub enum PxContactPatchFlags {
HasFaceIndices,
Modifiable,
ForceNoResponse,
HasModifiedMassRatios,
HasTargetVelocity,
HasMaxImpulse,
RegeneratePatches,
CompressedModifiedContact,
}
Expand description
Header for a contact patch where all points share same material and normal
Variants§
HasFaceIndices
Indicates this contact stream has face indices.
Modifiable
Indicates this contact stream is modifiable.
ForceNoResponse
Indicates this contact stream is notify-only (no contact response).
HasModifiedMassRatios
Indicates this contact stream has modified mass ratios
HasTargetVelocity
Indicates this contact stream has target velocities set
HasMaxImpulse
Indicates this contact stream has max impulses set
RegeneratePatches
Indicates this contact stream needs patches re-generated. This is required if the application modified either the contact normal or the material properties
CompressedModifiedContact
Trait Implementations§
source§impl Clone for PxContactPatchFlags
impl Clone for PxContactPatchFlags
source§fn clone(&self) -> PxContactPatchFlags
fn clone(&self) -> PxContactPatchFlags
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 PxContactPatchFlags
impl Debug for PxContactPatchFlags
source§impl PartialEq<PxContactPatchFlags> for PxContactPatchFlags
impl PartialEq<PxContactPatchFlags> for PxContactPatchFlags
source§fn eq(&self, other: &PxContactPatchFlags) -> bool
fn eq(&self, other: &PxContactPatchFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxContactPatchFlags
impl Eq for PxContactPatchFlags
impl StructuralEq for PxContactPatchFlags
impl StructuralPartialEq for PxContactPatchFlags
Auto Trait Implementations§
impl RefUnwindSafe for PxContactPatchFlags
impl Send for PxContactPatchFlags
impl Sync for PxContactPatchFlags
impl Unpin for PxContactPatchFlags
impl UnwindSafe for PxContactPatchFlags
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