Public Member Functions | Protected Member Functions | List of all members
PxPhysicsInsertionCallback Class Referenceabstract

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>

Public Member Functions

 PxPhysicsInsertionCallback ()
 
virtual bool insertObject (PxBase &obj)=0
 Inserts object (TriangleMesh or HeightfieldMesh) into PxPhysics. More...
 

Protected Member Functions

virtual ~PxPhysicsInsertionCallback ()
 

Detailed Description

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

Constructor & Destructor Documentation

PxPhysicsInsertionCallback::PxPhysicsInsertionCallback ( )
inline
virtual PxPhysicsInsertionCallback::~PxPhysicsInsertionCallback ( )
inlineprotectedvirtual

Member Function Documentation

virtual bool PxPhysicsInsertionCallback::insertObject ( PxBase obj)
pure virtual

Inserts object (TriangleMesh or HeightfieldMesh) into PxPhysics.

Parameters
objObject to insert.

The documentation for this class was generated from the following file:


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com