Broad-phase callback to receive broad-phase related events. More...
#include <PxBroadPhase.h>
Public Member Functions | |
virtual | ~PxBroadPhaseCallback () |
virtual void | onObjectOutOfBounds (PxShape &shape, PxActor &actor)=0 |
Out-of-bounds notification. More... | |
virtual void | onObjectOutOfBounds (PxAggregate &aggregate)=0 |
Out-of-bounds notification. More... | |
Broad-phase callback to receive broad-phase related events.
Each broadphase callback object is associated with a PxClientID. It is possible to register different callbacks for different clients. The callback functions are called this way:
Threading: It is not necessary to make this class thread safe as it will only be called in the context of the user thread.
|
inlinevirtual |
|
pure virtual |
Out-of-bounds notification.
This function is called when an object leaves the broad-phase.
[in] | shape | Shape that left the broad-phase bounds |
[in] | actor | Owner actor |
|
pure virtual |
Out-of-bounds notification.
This function is called when an aggregate leaves the broad-phase.
[in] | aggregate | Aggregate that left the broad-phase bounds |