14 #ifndef PX_PHYSICS_NX_PHYSICS
15 #define PX_PHYSICS_NX_PHYSICS
26 #include "physxvisualdebuggersdk/PvdConnectionManager.h"
47 class PxProfileZoneManager;
75 eMESH_VERSION_PLAYSTATION3
120 virtual void release() = 0;
143 virtual PxVisualDebuggerConnectionManager* getPvdConnectionManager() = 0;
152 virtual PxProfileZoneManager* getProfileZoneManager() = 0;
163 virtual PxAggregate* createAggregate(
PxU32 maxSize,
bool enableSelfCollision) = 0;
198 virtual PxU32 getNbTriangleMeshes()
const = 0;
249 virtual PxU32 getNbHeightFields()
const = 0;
286 virtual PxU32 getNbConvexMeshes()
const = 0;
339 virtual PxU32 getNbClothFabrics()
const = 0;
379 virtual PxU32 getNbScenes()
const = 0;
427 #if PX_USE_PARTICLE_SYSTEM_API
437 virtual PxParticleSystem* createParticleSystem(
PxU32 maxParticles,
bool perParticleRestOffset =
false) = 0;
448 virtual PxParticleFluid* createParticleFluid(
PxU32 maxParticles,
bool perParticleRestOffset =
false) = 0;
490 bool isExclusive =
false,
494 return createShape(geometry, &materialPtr, 1, isExclusive, shapeFlags);
517 bool isExclusive =
false,
528 virtual PxU32 getNbShapes()
const = 0;
607 virtual PxU32 getNbMaterials()
const = 0;
798 physx::PxFoundation& foundation,
799 const physx::PxTolerancesScale& scale,
800 bool trackOutstandingAllocations =
false,
801 physx::PxProfileZoneManager* profileZoneManager =
NULL);
832 physx::PxFoundation& foundation,
833 const physx::PxTolerancesScale& scale,
834 bool trackOutstandingAllocations =
false,
835 physx::PxProfileZoneManager* profileZoneManager =
NULL)
837 physx::PxPhysics* physics =
PxCreateBasePhysics(version, foundation, scale, trackOutstandingAllocations, profileZoneManager);