#include <PxPhysicsInsertionCallback.h>
Public Member Functions | |
PxPhysicsInsertionCallback () | |
virtual PxBase * | buildObjectFromData (PxConcreteType::Enum type, void *data)=0 |
Builds object (TriangleMesh, HeightfieldMesh or ConvexMesh) from given data in PxPhysics. | |
Protected Member Functions | |
virtual | ~PxPhysicsInsertionCallback () |
Using this is advised only if real-time cooking is required; using "offline" cooking and streams is otherwise preferred.
The default PxPhysicsInsertionCallback implementation must be used. The PxPhysics default callback can be obtained using the PxPhysics::getPhysicsInsertionCallback().
PxPhysicsInsertionCallback::PxPhysicsInsertionCallback | ( | ) | [inline] |
virtual PxPhysicsInsertionCallback::~PxPhysicsInsertionCallback | ( | ) | [inline, protected, virtual] |
virtual PxBase* PxPhysicsInsertionCallback::buildObjectFromData | ( | PxConcreteType::Enum | type, | |
void * | data | |||
) | [pure virtual] |