RavEngine
Loading...
Searching...
No Matches
physx::Sc::ActorPairReport Class Reference

Class shared by all shape interactions for a pair of actors if contact reports are requested. More...

#include <ScActorPair.h>

Inheritance diagram for physx::Sc::ActorPairReport:
[legend]
Collaboration diagram for physx::Sc::ActorPairReport:
[legend]

Public Types

enum  ActorPairReportFlags { eIS_IN_CONTACT_REPORT_ACTOR_PAIR_SET = ActorPair::eNEXT_FREE }
 
- Public Types inherited from physx::Sc::ActorPair
enum  ActorPairFlags { eIS_REPORT_PAIR = (1<<0) , eNEXT_FREE = (1<<1) }
 

Public Member Functions

PX_FORCE_INLINE ActorPairReport (ActorSim &, ActorSim &)
 
PX_INLINE ContactStreamManager & createContactStreamManager (NPhaseCore &)
 
PX_FORCE_INLINE ContactStreamManager & getContactStreamManager () const
 
PX_FORCE_INLINE ActorSim & getActorA () const
 
PX_FORCE_INLINE ActorSim & getActorB () const
 
PX_INLINE PxU32 getActorAID () const
 
PX_INLINE PxU32 getActorBID () const
 
PX_INLINE PxActor * getPxActorA () const
 
PX_INLINE PxActor * getPxActorB () const
 
PX_INLINE bool streamResetStamp (PxU32 cmpStamp)
 
PX_FORCE_INLINE PxU16 isInContactReportActorPairSet () const
 
PX_FORCE_INLINE void setInContactReportActorPairSet ()
 
PX_FORCE_INLINE void clearInContactReportActorPairSet ()
 
PX_FORCE_INLINE void createContactReportData (NPhaseCore &)
 
PX_FORCE_INLINE void releaseContactReportData (NPhaseCore &)
 
PX_FORCE_INLINE void convert (ActorPair &aPair)
 
- Public Member Functions inherited from physx::Sc::ActorPair
PX_FORCE_INLINE PxIntBool isReportPair () const
 
PX_FORCE_INLINE void incTouchCount ()
 
PX_FORCE_INLINE void decTouchCount ()
 
PX_FORCE_INLINE PxU32 getTouchCount () const
 
PX_FORCE_INLINE void incRefCount ()
 
PX_FORCE_INLINE PxU32 decRefCount ()
 
PX_FORCE_INLINE PxU32 getRefCount () const
 

Static Public Member Functions

static PX_FORCE_INLINE ActorPairReport & cast (ActorPair &aPair)
 

Additional Inherited Members

- Protected Attributes inherited from physx::Sc::ActorPair
PxU16 mInternalFlags
 
PxU16 mTouchCount
 
PxU16 mRefCount
 
PxU16 mPad
 

Detailed Description

Class shared by all shape interactions for a pair of actors if contact reports are requested.

This class is used if at least one shape pair of an actor pair has contact reports requested.

Note
If a pair of actors had contact reports requested for some of the shape interactions but all of them switch to not wanting contact reports any longer, then the ActorPairReport instance is kept being used and won't get replaced by a simpler ActorPair instance.

The documentation for this class was generated from the following file: