PxPhysicsInsertionCallback does provide interface from PxCooking to be able to insert TriangleMesh or HeightfieldMesh directly into PxPhysics without the need of storing the cooking results into stream.
More...
#include <PxPhysicsInsertionCallback.h>
PxPhysicsInsertionCallback does provide interface from PxCooking to be able to insert TriangleMesh or HeightfieldMesh directly into PxPhysics without the need of storing the cooking results into stream.
This advised only if real-time cooking is required, using "offline" cooking and streams is highly advised.
Only default PxPhysicsInsertionCallback implementation must be used. The PxPhysics default callback can be obtained using the PxPhysics::getPhysicsInsertionCallback().
- See Also
- PxCooking PxPhysics
PxPhysicsInsertionCallback::PxPhysicsInsertionCallback |
( |
| ) |
|
|
inline |
virtual PxPhysicsInsertionCallback::~PxPhysicsInsertionCallback |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual bool PxPhysicsInsertionCallback::insertObject |
( |
PxBase & |
obj | ) |
|
|
pure virtual |
Inserts object (TriangleMesh or HeightfieldMesh) into PxPhysics.
- Parameters
-
The documentation for this class was generated from the following file: