#[repr(i32)]pub enum PxContactPatchFlags {
HasFaceIndices = 1,
Modifiable = 2,
ForceNoResponse = 4,
HasModifiedMassRatios = 8,
HasTargetVelocity = 16,
HasMaxImpulse = 32,
RegeneratePatches = 64,
CompressedModifiedContact = 128,
}Expand description
Header for a contact patch where all points share same material and normal
Variants§
HasFaceIndices = 1
Indicates this contact stream has face indices.
Modifiable = 2
Indicates this contact stream is modifiable.
ForceNoResponse = 4
Indicates this contact stream is notify-only (no contact response).
HasModifiedMassRatios = 8
Indicates this contact stream has modified mass ratios
HasTargetVelocity = 16
Indicates this contact stream has target velocities set
HasMaxImpulse = 32
Indicates this contact stream has max impulses set
RegeneratePatches = 64
Indicates this contact stream needs patches re-generated. This is required if the application modified either the contact normal or the material properties
CompressedModifiedContact = 128
Trait Implementations§
Source§impl Clone for PxContactPatchFlags
impl Clone for PxContactPatchFlags
Source§fn clone(&self) -> PxContactPatchFlags
fn clone(&self) -> PxContactPatchFlags
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 PxContactPatchFlags
impl Debug for PxContactPatchFlags
Source§impl PartialEq for PxContactPatchFlags
impl PartialEq for PxContactPatchFlags
impl Copy for PxContactPatchFlags
impl Eq for PxContactPatchFlags
impl StructuralPartialEq for PxContactPatchFlags
Auto Trait Implementations§
impl Freeze for PxContactPatchFlags
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