|
RavEngine
|
Broad-phase callback to receive broad-phase related events. More...
#include <PxScene.h>
Public Member Functions | |
| virtual void | onObjectOutOfBounds (PxShape &shape, PxActor &actor)=0 |
| Out-of-bounds notification. | |
| virtual void | onObjectOutOfBounds (PxAggregate &aggregate)=0 |
| Out-of-bounds notification. | |
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.
|
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 |
Implemented in SnippetMBPBroadPhaseCallback.
|
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 |
Implemented in SnippetMBPBroadPhaseCallback.