Enum physx_sys::RbPairStatsType
source · #[repr(i32)]pub enum RbPairStatsType {
DiscreteContactPairs = 0,
CcdPairs = 1,
ModifiedContactPairs = 2,
TriggerPairs = 3,
}
Expand description
Different types of rigid body collision pair statistics.
Variants§
DiscreteContactPairs = 0
Shape pairs processed as discrete contact pairs for the current simulation step.
CcdPairs = 1
Shape pairs processed as swept integration pairs for the current simulation step.
Counts the pairs for which special CCD (continuous collision detection) work was actually done and NOT the number of pairs which were configured for CCD. Furthermore, there can be multiple CCD passes and all processed pairs of all passes are summed up, hence the number can be larger than the amount of pairs which have been configured for CCD.
ModifiedContactPairs = 2
Shape pairs processed with user contact modification enabled for the current simulation step.
TriggerPairs = 3
Trigger shape pairs processed for the current simulation step.
Trait Implementations§
source§impl Clone for RbPairStatsType
impl Clone for RbPairStatsType
source§fn clone(&self) -> RbPairStatsType
fn clone(&self) -> RbPairStatsType
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 RbPairStatsType
impl Debug for RbPairStatsType
source§impl PartialEq for RbPairStatsType
impl PartialEq for RbPairStatsType
source§fn eq(&self, other: &RbPairStatsType) -> bool
fn eq(&self, other: &RbPairStatsType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RbPairStatsType
impl Eq for RbPairStatsType
impl StructuralEq for RbPairStatsType
impl StructuralPartialEq for RbPairStatsType
Auto Trait Implementations§
impl RefUnwindSafe for RbPairStatsType
impl Send for RbPairStatsType
impl Sync for RbPairStatsType
impl Unpin for RbPairStatsType
impl UnwindSafe for RbPairStatsType
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