Callback class to record contact points produced by immediate::PxGenerateContacts.
More...
#include <PxImmediateMode.h>
Callback class to record contact points produced by immediate::PxGenerateContacts.
◆ ~PxContactRecorder()
virtual PxContactRecorder::~PxContactRecorder |
( |
| ) |
|
|
inlinevirtual |
◆ recordContacts()
virtual bool PxContactRecorder::recordContacts |
( |
const Gu::ContactPoint * |
contactPoints, |
|
|
const PxU32 |
nbContacts, |
|
|
const PxU32 |
index |
|
) |
| |
|
pure virtual |
Method to record new contacts.
- Parameters
-
[in] | contactPoints | The contact points produced |
[in] | nbContacts | The number of contact points produced |
[in] | index | The index of this pair. This is an index from 0-N-1 identifying which pair this relates to from within the array of pairs passed to PxGenerateContacts |
- Returns
- a boolean to indicate if this callback successfully stored the contacts or not.
The documentation for this class was generated from the following file: