Enum physx_sys::PxPairFilteringMode
source · #[repr(i32)]pub enum PxPairFilteringMode {
Keep = 0,
Suppress = 1,
Kill = 2,
}
Variants§
Keep = 0
Output pair from BP, potentially send to user callbacks, create regular interaction object.
Enable contact pair filtering between kinematic/static or kinematic/kinematic rigid bodies.
By default contacts between these are suppressed (see [PxFilterFlag::eSUPPRESS
]) and don’t get reported to the filter mechanism.
Use this mode if these pairs should go through the filtering pipeline nonetheless.
This mode is not mutable, and must be set in PxSceneDesc at scene creation.
Suppress = 1
Output pair from BP, create interaction marker. Can be later switched to regular interaction.
Kill = 2
Don’t output pair from BP. Cannot be later switched to regular interaction, needs “resetFiltering” call.
Trait Implementations§
source§impl Clone for PxPairFilteringMode
impl Clone for PxPairFilteringMode
source§fn clone(&self) -> PxPairFilteringMode
fn clone(&self) -> PxPairFilteringMode
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 PxPairFilteringMode
impl Debug for PxPairFilteringMode
source§impl PartialEq for PxPairFilteringMode
impl PartialEq for PxPairFilteringMode
source§fn eq(&self, other: &PxPairFilteringMode) -> bool
fn eq(&self, other: &PxPairFilteringMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxPairFilteringMode
impl Eq for PxPairFilteringMode
impl StructuralEq for PxPairFilteringMode
impl StructuralPartialEq for PxPairFilteringMode
Auto Trait Implementations§
impl RefUnwindSafe for PxPairFilteringMode
impl Send for PxPairFilteringMode
impl Sync for PxPairFilteringMode
impl Unpin for PxPairFilteringMode
impl UnwindSafe for PxPairFilteringMode
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