Enum physx::scene::PairFilteringMode
source · pub enum PairFilteringMode {
Keep,
Suppress,
Kill,
}
Variants§
Keep
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
Output pair from BP, create interaction marker. Can be later switched to regular interaction.
Kill
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<PxPairFilteringMode> for PxPairFilteringMode
impl PartialEq<PxPairFilteringMode> 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 ==
.