#include <PxBroadPhase.h>
Public Member Functions | |
virtual | ~PxBroadPhaseCallback () |
virtual void | onObjectOutOfBounds (PxShape &shape, PxActor &actor)=0 |
Out-of-bounds notification. | |
virtual void | onObjectOutOfBounds (PxAggregate &aggregate)=0 |
Out-of-bounds notification. |
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:
virtual PxBroadPhaseCallback::~PxBroadPhaseCallback | ( | ) | [inline, virtual] |
virtual void PxBroadPhaseCallback::onObjectOutOfBounds | ( | PxAggregate & | aggregate | ) | [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 |
virtual void PxBroadPhaseCallback::onObjectOutOfBounds | ( | PxShape & | shape, | |
PxActor & | actor | |||
) | [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 |