diff options
| author | sschirm <[email protected]> | 2017-02-27 16:40:12 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2017-03-01 18:04:26 +0100 |
| commit | 7840347c32755e94a807f978f1cbb558717ac8cf (patch) | |
| tree | 295cd3ca93a45f8fcc43cf3cbf3887c0e0c5526b /PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html | |
| parent | Pre-release comments marking end of beta. (diff) | |
| download | physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.tar.xz physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.zip | |
PhysX 3.4, APEX 1.4 final release @21757769v3.4.0-rc-2
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html | 252 |
1 files changed, 126 insertions, 126 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html index 2490cb90..5722e88b 100644 --- a/PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html +++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html @@ -137,139 +137,139 @@ <a name="l00306"></a>00306 <span class="preprocessor"></span> <a name="l00308"></a>00308 <a name="l00311"></a>00311 -<a name="l00320"></a>00320 <span class="keyword">virtual</span> <a class="code" href="classPxScene.html" title="A scene is a collection of bodies, particle systems and constraints which can interact...">PxScene</a>* createScene(<span class="keyword">const</span> <a class="code" href="classPxSceneDesc.html" title="Descriptor class for scenes. See PxScene.">PxSceneDesc</a>& sceneDesc) = 0; -<a name="l00321"></a>00321 -<a name="l00329"></a>00329 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbScenes() <span class="keyword">const</span> = 0; -<a name="l00330"></a>00330 -<a name="l00345"></a>00345 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getScenes(<a class="code" href="classPxScene.html" title="A scene is a collection of bodies, particle systems and constraints which can interact...">PxScene</a>** userBuffer, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> bufferSize, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> startIndex=0) <span class="keyword">const</span> = 0; -<a name="l00346"></a>00346 -<a name="l00348"></a>00348 +<a name="l00323"></a>00323 <span class="keyword">virtual</span> <a class="code" href="classPxScene.html" title="A scene is a collection of bodies, particle systems and constraints which can interact...">PxScene</a>* createScene(<span class="keyword">const</span> <a class="code" href="classPxSceneDesc.html" title="Descriptor class for scenes. See PxScene.">PxSceneDesc</a>& sceneDesc) = 0; +<a name="l00324"></a>00324 +<a name="l00332"></a>00332 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbScenes() <span class="keyword">const</span> = 0; +<a name="l00333"></a>00333 +<a name="l00348"></a>00348 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getScenes(<a class="code" href="classPxScene.html" title="A scene is a collection of bodies, particle systems and constraints which can interact...">PxScene</a>** userBuffer, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> bufferSize, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> startIndex=0) <span class="keyword">const</span> = 0; +<a name="l00349"></a>00349 <a name="l00351"></a>00351 -<a name="l00361"></a>00361 <span class="keyword">virtual</span> <a class="code" href="classPxRigidStatic.html" title="PxRigidStatic represents a static rigid body simulation object in the physics SDK...">PxRigidStatic</a>* createRigidStatic(<span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& pose) = 0; -<a name="l00362"></a>00362 -<a name="l00363"></a>00363 -<a name="l00364"></a>00364 -<a name="l00374"></a>00374 <span class="keyword">virtual</span> <a class="code" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>* createRigidDynamic(<span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& pose) = 0; -<a name="l00375"></a>00375 -<a name="l00376"></a>00376 -<a name="l00377"></a>00377 <span class="preprocessor">#if PX_USE_PARTICLE_SYSTEM_API</span> -<a name="l00378"></a>00378 <span class="preprocessor"></span> -<a name="l00389"></a>00389 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <span class="keyword">virtual</span> <a class="code" href="classPxParticleSystem.html" title="The particle system class represents the main module for particle based simulation...">PxParticleSystem</a>* createParticleSystem(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> maxParticles, <span class="keywordtype">bool</span> perParticleRestOffset = <span class="keyword">false</span>) = 0; -<a name="l00390"></a>00390 -<a name="l00402"></a>00402 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <span class="keyword">virtual</span> <a class="code" href="classPxParticleFluid.html" title="The particle fluid class represents the main module for particle based fluid simulation...">PxParticleFluid</a>* createParticleFluid(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> maxParticles, <span class="keywordtype">bool</span> perParticleRestOffset = <span class="keyword">false</span>) = 0; -<a name="l00403"></a>00403 <span class="preprocessor">#endif</span> -<a name="l00404"></a>00404 <span class="preprocessor"></span> -<a name="l00405"></a>00405 -<a name="l00406"></a>00406 <span class="preprocessor">#if PX_USE_CLOTH_API</span> +<a name="l00354"></a>00354 +<a name="l00364"></a>00364 <span class="keyword">virtual</span> <a class="code" href="classPxRigidStatic.html" title="PxRigidStatic represents a static rigid body simulation object in the physics SDK...">PxRigidStatic</a>* createRigidStatic(<span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& pose) = 0; +<a name="l00365"></a>00365 +<a name="l00366"></a>00366 +<a name="l00367"></a>00367 +<a name="l00377"></a>00377 <span class="keyword">virtual</span> <a class="code" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>* createRigidDynamic(<span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& pose) = 0; +<a name="l00378"></a>00378 +<a name="l00379"></a>00379 +<a name="l00380"></a>00380 <span class="preprocessor">#if PX_USE_PARTICLE_SYSTEM_API</span> +<a name="l00381"></a>00381 <span class="preprocessor"></span> +<a name="l00392"></a>00392 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <span class="keyword">virtual</span> <a class="code" href="classPxParticleSystem.html" title="The particle system class represents the main module for particle based simulation...">PxParticleSystem</a>* createParticleSystem(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> maxParticles, <span class="keywordtype">bool</span> perParticleRestOffset = <span class="keyword">false</span>) = 0; +<a name="l00393"></a>00393 +<a name="l00405"></a>00405 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <span class="keyword">virtual</span> <a class="code" href="classPxParticleFluid.html" title="The particle fluid class represents the main module for particle based fluid simulation...">PxParticleFluid</a>* createParticleFluid(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> maxParticles, <span class="keywordtype">bool</span> perParticleRestOffset = <span class="keyword">false</span>) = 0; +<a name="l00406"></a>00406 <span class="preprocessor">#endif</span> <a name="l00407"></a>00407 <span class="preprocessor"></span> -<a name="l00418"></a>00418 <span class="keyword">virtual</span> <a class="code" href="classPxCloth.html" title="Set of connected particles tailored towards simulating character cloth.">PxCloth</a>* createCloth(<span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& globalPose, <a class="code" href="classPxClothFabric.html" title="A cloth fabric is a structure that contains all the internal solver constraints of...">PxClothFabric</a>& fabric, <span class="keyword">const</span> <a class="code" href="structPxClothParticle.html" title="Per particle data for cloth.">PxClothParticle</a>* particles, <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxClothFlags</a> flags) = 0; -<a name="l00419"></a>00419 <span class="preprocessor">#endif</span> -<a name="l00420"></a>00420 <span class="preprocessor"></span> -<a name="l00434"></a>00434 <span class="keyword">virtual</span> <a class="code" href="classPxPruningStructure.html" title="A precomputed pruning structure to accelerate scene queries against newly added actors...">PxPruningStructure</a>* createPruningStructure(<a class="code" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies...">PxRigidActor</a>*<span class="keyword">const</span>* actors, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbActors) = 0; -<a name="l00435"></a>00435 -<a name="l00437"></a>00437 -<a name="l00440"></a>00440 -<a name="l00441"></a>00441 -<a name="l00457"></a><a class="code" href="classPxPhysics.html#bc564607f208cbc1944880172a3d62fe">00457</a> <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>* createShape( <span class="keyword">const</span> <a class="code" href="classPxGeometry.html" title="A geometry object.">PxGeometry</a>& geometry, -<a name="l00458"></a>00458 <span class="keyword">const</span> <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>& material, -<a name="l00459"></a>00459 <span class="keywordtype">bool</span> isExclusive = <span class="keyword">false</span>, -<a name="l00460"></a>00460 <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxShapeFlags</a> shapeFlags = <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1a1b3a6f33eb84ee2dc74eac63aa86f2a4" title="Enable debug renderer for this shape.">PxShapeFlag::eVISUALIZATION</a> | <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1abc7ec24b00ed57f3914482f0706c6273" title="The shape will partake in scene queries (ray casts, overlap tests, sweeps, ...).">PxShapeFlag::eSCENE_QUERY_SHAPE</a> | <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1a7fa4fea0eecda9cc80a7aaa11a22df52" title="The shape will partake in collision in the physical simulation.">PxShapeFlag::eSIMULATION_SHAPE</a>) -<a name="l00461"></a>00461 { -<a name="l00462"></a>00462 <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>* materialPtr = <span class="keyword">const_cast<</span><a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>*<span class="keyword">></span>(&material); -<a name="l00463"></a>00463 <span class="keywordflow">return</span> createShape(geometry, &materialPtr, 1, isExclusive, shapeFlags); -<a name="l00464"></a>00464 } -<a name="l00465"></a>00465 -<a name="l00466"></a>00466 -<a name="l00483"></a>00483 <span class="keyword">virtual</span> <a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>* createShape(<span class="keyword">const</span> <a class="code" href="classPxGeometry.html" title="A geometry object.">PxGeometry</a>& geometry, -<a name="l00484"></a>00484 <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>*<span class="keyword">const</span> * materials, -<a name="l00485"></a>00485 <a class="code" href="namespacephysx.html#9caf1cbcda071b6d2a9c069faa99da23">PxU16</a> materialCount, -<a name="l00486"></a>00486 <span class="keywordtype">bool</span> isExclusive = <span class="keyword">false</span>, -<a name="l00487"></a>00487 <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxShapeFlags</a> shapeFlags = <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1a1b3a6f33eb84ee2dc74eac63aa86f2a4" title="Enable debug renderer for this shape.">PxShapeFlag::eVISUALIZATION</a> | <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1abc7ec24b00ed57f3914482f0706c6273" title="The shape will partake in scene queries (ray casts, overlap tests, sweeps, ...).">PxShapeFlag::eSCENE_QUERY_SHAPE</a> | <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1a7fa4fea0eecda9cc80a7aaa11a22df52" title="The shape will partake in collision in the physical simulation.">PxShapeFlag::eSIMULATION_SHAPE</a>) = 0; -<a name="l00488"></a>00488 -<a name="l00489"></a>00489 -<a name="l00497"></a>00497 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbShapes() <span class="keyword">const</span> = 0; -<a name="l00498"></a>00498 -<a name="l00513"></a>00513 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getShapes(<a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>** userBuffer, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> bufferSize, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> startIndex=0) <span class="keyword">const</span> = 0; -<a name="l00514"></a>00514 -<a name="l00516"></a>00516 +<a name="l00408"></a>00408 +<a name="l00409"></a>00409 <span class="preprocessor">#if PX_USE_CLOTH_API</span> +<a name="l00410"></a>00410 <span class="preprocessor"></span> +<a name="l00421"></a>00421 <span class="keyword">virtual</span> <a class="code" href="classPxCloth.html" title="Set of connected particles tailored towards simulating character cloth.">PxCloth</a>* createCloth(<span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& globalPose, <a class="code" href="classPxClothFabric.html" title="A cloth fabric is a structure that contains all the internal solver constraints of...">PxClothFabric</a>& fabric, <span class="keyword">const</span> <a class="code" href="structPxClothParticle.html" title="Per particle data for cloth.">PxClothParticle</a>* particles, <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxClothFlags</a> flags) = 0; +<a name="l00422"></a>00422 <span class="preprocessor">#endif</span> +<a name="l00423"></a>00423 <span class="preprocessor"></span> +<a name="l00437"></a>00437 <span class="keyword">virtual</span> <a class="code" href="classPxPruningStructure.html" title="A precomputed pruning structure to accelerate scene queries against newly added actors...">PxPruningStructure</a>* createPruningStructure(<a class="code" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies...">PxRigidActor</a>*<span class="keyword">const</span>* actors, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbActors) = 0; +<a name="l00438"></a>00438 +<a name="l00440"></a>00440 +<a name="l00443"></a>00443 +<a name="l00444"></a>00444 +<a name="l00460"></a><a class="code" href="classPxPhysics.html#bc564607f208cbc1944880172a3d62fe">00460</a> <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>* createShape( <span class="keyword">const</span> <a class="code" href="classPxGeometry.html" title="A geometry object.">PxGeometry</a>& geometry, +<a name="l00461"></a>00461 <span class="keyword">const</span> <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>& material, +<a name="l00462"></a>00462 <span class="keywordtype">bool</span> isExclusive = <span class="keyword">false</span>, +<a name="l00463"></a>00463 <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxShapeFlags</a> shapeFlags = <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1a1b3a6f33eb84ee2dc74eac63aa86f2a4" title="Enable debug renderer for this shape.">PxShapeFlag::eVISUALIZATION</a> | <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1abc7ec24b00ed57f3914482f0706c6273" title="The shape will partake in scene queries (ray casts, overlap tests, sweeps, ...).">PxShapeFlag::eSCENE_QUERY_SHAPE</a> | <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1a7fa4fea0eecda9cc80a7aaa11a22df52" title="The shape will partake in collision in the physical simulation.">PxShapeFlag::eSIMULATION_SHAPE</a>) +<a name="l00464"></a>00464 { +<a name="l00465"></a>00465 <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>* materialPtr = <span class="keyword">const_cast<</span><a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>*<span class="keyword">></span>(&material); +<a name="l00466"></a>00466 <span class="keywordflow">return</span> createShape(geometry, &materialPtr, 1, isExclusive, shapeFlags); +<a name="l00467"></a>00467 } +<a name="l00468"></a>00468 +<a name="l00469"></a>00469 +<a name="l00486"></a>00486 <span class="keyword">virtual</span> <a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>* createShape(<span class="keyword">const</span> <a class="code" href="classPxGeometry.html" title="A geometry object.">PxGeometry</a>& geometry, +<a name="l00487"></a>00487 <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>*<span class="keyword">const</span> * materials, +<a name="l00488"></a>00488 <a class="code" href="namespacephysx.html#9caf1cbcda071b6d2a9c069faa99da23">PxU16</a> materialCount, +<a name="l00489"></a>00489 <span class="keywordtype">bool</span> isExclusive = <span class="keyword">false</span>, +<a name="l00490"></a>00490 <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxShapeFlags</a> shapeFlags = <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1a1b3a6f33eb84ee2dc74eac63aa86f2a4" title="Enable debug renderer for this shape.">PxShapeFlag::eVISUALIZATION</a> | <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1abc7ec24b00ed57f3914482f0706c6273" title="The shape will partake in scene queries (ray casts, overlap tests, sweeps, ...).">PxShapeFlag::eSCENE_QUERY_SHAPE</a> | <a class="code" href="structPxShapeFlag.html#6edb481aaa3a998c5d6dd3fc4ad87f1a7fa4fea0eecda9cc80a7aaa11a22df52" title="The shape will partake in collision in the physical simulation.">PxShapeFlag::eSIMULATION_SHAPE</a>) = 0; +<a name="l00491"></a>00491 +<a name="l00492"></a>00492 +<a name="l00500"></a>00500 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbShapes() <span class="keyword">const</span> = 0; +<a name="l00501"></a>00501 +<a name="l00516"></a>00516 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getShapes(<a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>** userBuffer, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> bufferSize, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> startIndex=0) <span class="keyword">const</span> = 0; +<a name="l00517"></a>00517 <a name="l00519"></a>00519 -<a name="l00520"></a>00520 -<a name="l00537"></a>00537 <span class="keyword">virtual</span> <a class="code" href="classPxConstraint.html" title="A plugin class for implementing constraints.">PxConstraint</a>* createConstraint(<a class="code" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies...">PxRigidActor</a>* actor0, <a class="code" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies...">PxRigidActor</a>* actor1, <a class="code" href="classPxConstraintConnector.html" title="This class connects a custom constraint to the SDK.">PxConstraintConnector</a>& connector, <span class="keyword">const</span> <a class="code" href="structPxConstraintShaderTable.html">PxConstraintShaderTable</a>& shaders, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> dataSize) = 0; -<a name="l00538"></a>00538 -<a name="l00539"></a>00539 -<a name="l00547"></a>00547 <span class="keyword">virtual</span> <a class="code" href="classPxArticulation.html" title="a tree structure of bodies connected by joints that is treated as a unit by the dynamics...">PxArticulation</a>* createArticulation() = 0; -<a name="l00548"></a>00548 -<a name="l00550"></a>00550 +<a name="l00522"></a>00522 +<a name="l00523"></a>00523 +<a name="l00540"></a>00540 <span class="keyword">virtual</span> <a class="code" href="classPxConstraint.html" title="A plugin class for implementing constraints.">PxConstraint</a>* createConstraint(<a class="code" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies...">PxRigidActor</a>* actor0, <a class="code" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies...">PxRigidActor</a>* actor1, <a class="code" href="classPxConstraintConnector.html" title="This class connects a custom constraint to the SDK.">PxConstraintConnector</a>& connector, <span class="keyword">const</span> <a class="code" href="structPxConstraintShaderTable.html">PxConstraintShaderTable</a>& shaders, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> dataSize) = 0; +<a name="l00541"></a>00541 +<a name="l00542"></a>00542 +<a name="l00550"></a>00550 <span class="keyword">virtual</span> <a class="code" href="classPxArticulation.html" title="a tree structure of bodies connected by joints that is treated as a unit by the dynamics...">PxArticulation</a>* createArticulation() = 0; +<a name="l00551"></a>00551 <a name="l00553"></a>00553 -<a name="l00554"></a>00554 -<a name="l00566"></a>00566 <span class="keyword">virtual</span> <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>* createMaterial(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> staticFriction, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> dynamicFriction, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> restitution) = 0; -<a name="l00567"></a>00567 -<a name="l00568"></a>00568 -<a name="l00576"></a>00576 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbMaterials() <span class="keyword">const</span> = 0; -<a name="l00577"></a>00577 -<a name="l00592"></a>00592 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getMaterials(<a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>** userBuffer, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> bufferSize, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> startIndex=0) <span class="keyword">const</span> = 0; -<a name="l00593"></a>00593 -<a name="l00595"></a>00595 +<a name="l00556"></a>00556 +<a name="l00557"></a>00557 +<a name="l00569"></a>00569 <span class="keyword">virtual</span> <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>* createMaterial(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> staticFriction, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> dynamicFriction, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> restitution) = 0; +<a name="l00570"></a>00570 +<a name="l00571"></a>00571 +<a name="l00579"></a>00579 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbMaterials() <span class="keyword">const</span> = 0; +<a name="l00580"></a>00580 +<a name="l00595"></a>00595 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getMaterials(<a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>** userBuffer, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> bufferSize, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> startIndex=0) <span class="keyword">const</span> = 0; +<a name="l00596"></a>00596 <a name="l00598"></a>00598 -<a name="l00614"></a>00614 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerDeletionListener(<a class="code" href="classPxDeletionListener.html" title="interface to get notification on object deletion">PxDeletionListener</a>& observer, <span class="keyword">const</span> <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxDeletionEventFlags</a>& deletionEvents, <span class="keywordtype">bool</span> restrictedObjectSet = <span class="keyword">false</span>) = 0; -<a name="l00615"></a>00615 -<a name="l00625"></a>00625 <span class="keyword">virtual</span> <span class="keywordtype">void</span> unregisterDeletionListener(<a class="code" href="classPxDeletionListener.html" title="interface to get notification on object deletion">PxDeletionListener</a>& observer) = 0; -<a name="l00626"></a>00626 -<a name="l00642"></a>00642 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerDeletionListenerObjects(<a class="code" href="classPxDeletionListener.html" title="interface to get notification on object deletion">PxDeletionListener</a>& observer, <span class="keyword">const</span> <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>* <span class="keyword">const</span>* observables, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> observableCount) = 0; -<a name="l00643"></a>00643 -<a name="l00659"></a>00659 <span class="keyword">virtual</span> <span class="keywordtype">void</span> unregisterDeletionListenerObjects(<a class="code" href="classPxDeletionListener.html" title="interface to get notification on object deletion">PxDeletionListener</a>& observer, <span class="keyword">const</span> <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>* <span class="keyword">const</span>* observables, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> observableCount) = 0; -<a name="l00660"></a>00660 -<a name="l00669"></a>00669 <span class="keyword">virtual</span> <a class="code" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a>& getPhysicsInsertionCallback() = 0; -<a name="l00670"></a>00670 -<a name="l00672"></a>00672 }; +<a name="l00601"></a>00601 +<a name="l00617"></a>00617 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerDeletionListener(<a class="code" href="classPxDeletionListener.html" title="interface to get notification on object deletion">PxDeletionListener</a>& observer, <span class="keyword">const</span> <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxDeletionEventFlags</a>& deletionEvents, <span class="keywordtype">bool</span> restrictedObjectSet = <span class="keyword">false</span>) = 0; +<a name="l00618"></a>00618 +<a name="l00628"></a>00628 <span class="keyword">virtual</span> <span class="keywordtype">void</span> unregisterDeletionListener(<a class="code" href="classPxDeletionListener.html" title="interface to get notification on object deletion">PxDeletionListener</a>& observer) = 0; +<a name="l00629"></a>00629 +<a name="l00645"></a>00645 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerDeletionListenerObjects(<a class="code" href="classPxDeletionListener.html" title="interface to get notification on object deletion">PxDeletionListener</a>& observer, <span class="keyword">const</span> <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>* <span class="keyword">const</span>* observables, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> observableCount) = 0; +<a name="l00646"></a>00646 +<a name="l00662"></a>00662 <span class="keyword">virtual</span> <span class="keywordtype">void</span> unregisterDeletionListenerObjects(<a class="code" href="classPxDeletionListener.html" title="interface to get notification on object deletion">PxDeletionListener</a>& observer, <span class="keyword">const</span> <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>* <span class="keyword">const</span>* observables, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> observableCount) = 0; +<a name="l00663"></a>00663 +<a name="l00672"></a>00672 <span class="keyword">virtual</span> <a class="code" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a>& getPhysicsInsertionCallback() = 0; <a name="l00673"></a>00673 -<a name="l00674"></a>00674 <span class="preprocessor">#if !PX_DOXYGEN</span> -<a name="l00675"></a>00675 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span> -<a name="l00676"></a>00676 <span class="preprocessor">#endif</span> -<a name="l00677"></a>00677 <span class="preprocessor"></span> -<a name="l00685"></a>00685 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#g92144d0904f8a696f85737c576b88d9f" title="Enables the usage of the articulations feature. This function is called automatically...">PxRegisterArticulations</a>(physx::PxPhysics& physics); -<a name="l00686"></a>00686 -<a name="l00704"></a>00704 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#ge3a84455caaa6a7de67513ea29a315e1" title="Enables the usage of the heightfield feature.">PxRegisterHeightFields</a>(physx::PxPhysics& physics); -<a name="l00705"></a>00705 -<a name="l00718"></a>00718 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#g3a556a2d568cf1f36726d099bb21abd4" title="Enables the usage of the legacy heightfield feature.">PxRegisterLegacyHeightFields</a>(physx::PxPhysics& physics); -<a name="l00719"></a>00719 -<a name="l00727"></a><a class="code" href="group__physics.html#g6adbba7aad2d451e684110269dddd720">00727</a> <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#g6adbba7aad2d451e684110269dddd720" title="Enables the usage of the unified heightfield feature.">PxRegisterUnifiedHeightFields</a>(physx::PxPhysics& physics) -<a name="l00728"></a>00728 { -<a name="l00729"></a>00729 <a class="code" href="group__physics.html#ge3a84455caaa6a7de67513ea29a315e1" title="Enables the usage of the heightfield feature.">PxRegisterHeightFields</a>(physics); -<a name="l00730"></a>00730 } -<a name="l00731"></a>00731 -<a name="l00732"></a>00732 -<a name="l00740"></a>00740 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#gb0b300b30efd81868ff51f9544e85b11" title="Enables the usage of the cloth feature. This function is called automatically inside...">PxRegisterCloth</a>(physx::PxPhysics& physics); -<a name="l00741"></a>00741 -<a name="l00751"></a>00751 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#g197726c3bfa1abc6fbe43875c2483b38" title="Enables the usage of the particles feature. This function is called automatically...">PxRegisterParticles</a>(physx::PxPhysics& physics); -<a name="l00752"></a>00752 -<a name="l00774"></a>00774 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> physx::PxPhysics* PX_CALL_CONV <a class="code" href="group__physics.html#gd63c429157f9c8c87fcd0ea2f9b79f66" title="Creates an instance of the physics SDK with minimal additional components registered...">PxCreateBasePhysics</a>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">physx::PxU32</a> version, -<a name="l00775"></a>00775 physx::PxFoundation& foundation, -<a name="l00776"></a>00776 <span class="keyword">const</span> physx::PxTolerancesScale& scale, -<a name="l00777"></a>00777 <span class="keywordtype">bool</span> trackOutstandingAllocations = <span class="keyword">false</span>, -<a name="l00778"></a>00778 physx::PxPvd* pvd = NULL); -<a name="l00779"></a>00779 -<a name="l00807"></a><a class="code" href="group__physics.html#g8039bfec65da68b2294a97175ddb2c66">00807</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> physx::PxPhysics* <a class="code" href="group__physics.html#g8039bfec65da68b2294a97175ddb2c66" title="Creates an instance of the physics SDK.">PxCreatePhysics</a>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">physx::PxU32</a> version, -<a name="l00808"></a>00808 physx::PxFoundation& foundation, -<a name="l00809"></a>00809 <span class="keyword">const</span> physx::PxTolerancesScale& scale, -<a name="l00810"></a>00810 <span class="keywordtype">bool</span> trackOutstandingAllocations = <span class="keyword">false</span>, -<a name="l00811"></a>00811 physx::PxPvd* pvd = NULL ) -<a name="l00812"></a>00812 { -<a name="l00813"></a>00813 physx::PxPhysics* physics = <a class="code" href="group__physics.html#gd63c429157f9c8c87fcd0ea2f9b79f66" title="Creates an instance of the physics SDK with minimal additional components registered...">PxCreateBasePhysics</a>(version, foundation, scale, trackOutstandingAllocations, pvd); -<a name="l00814"></a>00814 <span class="keywordflow">if</span>(!physics) -<a name="l00815"></a>00815 <span class="keywordflow">return</span> NULL; -<a name="l00816"></a>00816 -<a name="l00817"></a>00817 <a class="code" href="group__physics.html#g92144d0904f8a696f85737c576b88d9f" title="Enables the usage of the articulations feature. This function is called automatically...">PxRegisterArticulations</a>(*physics); -<a name="l00818"></a>00818 <a class="code" href="group__physics.html#ge3a84455caaa6a7de67513ea29a315e1" title="Enables the usage of the heightfield feature.">PxRegisterHeightFields</a>(*physics); -<a name="l00819"></a>00819 <a class="code" href="group__physics.html#gb0b300b30efd81868ff51f9544e85b11" title="Enables the usage of the cloth feature. This function is called automatically inside...">PxRegisterCloth</a>(*physics); -<a name="l00820"></a>00820 <a class="code" href="group__physics.html#g197726c3bfa1abc6fbe43875c2483b38" title="Enables the usage of the particles feature. This function is called automatically...">PxRegisterParticles</a>(*physics); -<a name="l00821"></a>00821 -<a name="l00822"></a>00822 <span class="keywordflow">return</span> physics; -<a name="l00823"></a>00823 } +<a name="l00675"></a>00675 }; +<a name="l00676"></a>00676 +<a name="l00677"></a>00677 <span class="preprocessor">#if !PX_DOXYGEN</span> +<a name="l00678"></a>00678 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span> +<a name="l00679"></a>00679 <span class="preprocessor">#endif</span> +<a name="l00680"></a>00680 <span class="preprocessor"></span> +<a name="l00688"></a>00688 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#g92144d0904f8a696f85737c576b88d9f" title="Enables the usage of the articulations feature. This function is called automatically...">PxRegisterArticulations</a>(physx::PxPhysics& physics); +<a name="l00689"></a>00689 +<a name="l00707"></a>00707 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#ge3a84455caaa6a7de67513ea29a315e1" title="Enables the usage of the heightfield feature.">PxRegisterHeightFields</a>(physx::PxPhysics& physics); +<a name="l00708"></a>00708 +<a name="l00721"></a>00721 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#g3a556a2d568cf1f36726d099bb21abd4" title="Enables the usage of the legacy heightfield feature.">PxRegisterLegacyHeightFields</a>(physx::PxPhysics& physics); +<a name="l00722"></a>00722 +<a name="l00730"></a><a class="code" href="group__physics.html#g6adbba7aad2d451e684110269dddd720">00730</a> <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#g6adbba7aad2d451e684110269dddd720" title="Enables the usage of the unified heightfield feature.">PxRegisterUnifiedHeightFields</a>(physx::PxPhysics& physics) +<a name="l00731"></a>00731 { +<a name="l00732"></a>00732 <a class="code" href="group__physics.html#ge3a84455caaa6a7de67513ea29a315e1" title="Enables the usage of the heightfield feature.">PxRegisterHeightFields</a>(physics); +<a name="l00733"></a>00733 } +<a name="l00734"></a>00734 +<a name="l00735"></a>00735 +<a name="l00743"></a>00743 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#gb0b300b30efd81868ff51f9544e85b11" title="Enables the usage of the cloth feature. This function is called automatically inside...">PxRegisterCloth</a>(physx::PxPhysics& physics); +<a name="l00744"></a>00744 +<a name="l00754"></a>00754 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> <span class="keywordtype">void</span> PX_CALL_CONV <a class="code" href="group__physics.html#g197726c3bfa1abc6fbe43875c2483b38" title="Enables the usage of the particles feature. This function is called automatically...">PxRegisterParticles</a>(physx::PxPhysics& physics); +<a name="l00755"></a>00755 +<a name="l00777"></a>00777 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> physx::PxPhysics* PX_CALL_CONV <a class="code" href="group__physics.html#gd63c429157f9c8c87fcd0ea2f9b79f66" title="Creates an instance of the physics SDK with minimal additional components registered...">PxCreateBasePhysics</a>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">physx::PxU32</a> version, +<a name="l00778"></a>00778 physx::PxFoundation& foundation, +<a name="l00779"></a>00779 <span class="keyword">const</span> physx::PxTolerancesScale& scale, +<a name="l00780"></a>00780 <span class="keywordtype">bool</span> trackOutstandingAllocations = <span class="keyword">false</span>, +<a name="l00781"></a>00781 physx::PxPvd* pvd = NULL); +<a name="l00782"></a>00782 +<a name="l00810"></a><a class="code" href="group__physics.html#g8039bfec65da68b2294a97175ddb2c66">00810</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> physx::PxPhysics* <a class="code" href="group__physics.html#g8039bfec65da68b2294a97175ddb2c66" title="Creates an instance of the physics SDK.">PxCreatePhysics</a>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">physx::PxU32</a> version, +<a name="l00811"></a>00811 physx::PxFoundation& foundation, +<a name="l00812"></a>00812 <span class="keyword">const</span> physx::PxTolerancesScale& scale, +<a name="l00813"></a>00813 <span class="keywordtype">bool</span> trackOutstandingAllocations = <span class="keyword">false</span>, +<a name="l00814"></a>00814 physx::PxPvd* pvd = NULL ) +<a name="l00815"></a>00815 { +<a name="l00816"></a>00816 physx::PxPhysics* physics = <a class="code" href="group__physics.html#gd63c429157f9c8c87fcd0ea2f9b79f66" title="Creates an instance of the physics SDK with minimal additional components registered...">PxCreateBasePhysics</a>(version, foundation, scale, trackOutstandingAllocations, pvd); +<a name="l00817"></a>00817 <span class="keywordflow">if</span>(!physics) +<a name="l00818"></a>00818 <span class="keywordflow">return</span> NULL; +<a name="l00819"></a>00819 +<a name="l00820"></a>00820 <a class="code" href="group__physics.html#g92144d0904f8a696f85737c576b88d9f" title="Enables the usage of the articulations feature. This function is called automatically...">PxRegisterArticulations</a>(*physics); +<a name="l00821"></a>00821 <a class="code" href="group__physics.html#ge3a84455caaa6a7de67513ea29a315e1" title="Enables the usage of the heightfield feature.">PxRegisterHeightFields</a>(*physics); +<a name="l00822"></a>00822 <a class="code" href="group__physics.html#gb0b300b30efd81868ff51f9544e85b11" title="Enables the usage of the cloth feature. This function is called automatically inside...">PxRegisterCloth</a>(*physics); +<a name="l00823"></a>00823 <a class="code" href="group__physics.html#g197726c3bfa1abc6fbe43875c2483b38" title="Enables the usage of the particles feature. This function is called automatically...">PxRegisterParticles</a>(*physics); <a name="l00824"></a>00824 -<a name="l00832"></a>00832 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> physx::PxPhysics& PX_CALL_CONV <a class="code" href="group__physics.html#g824f991be62d7c28eadf32316562408f" title="Retrieves the Physics SDK after it has been created.">PxGetPhysics</a>(); -<a name="l00833"></a>00833 -<a name="l00835"></a>00835 <span class="preprocessor">#endif</span> +<a name="l00825"></a>00825 <span class="keywordflow">return</span> physics; +<a name="l00826"></a>00826 } +<a name="l00827"></a>00827 +<a name="l00835"></a>00835 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="group__common.html#g4636d12a5a01930fa258136f3f93366f">PX_PHYSX_CORE_API</a> physx::PxPhysics& PX_CALL_CONV <a class="code" href="group__physics.html#g824f991be62d7c28eadf32316562408f" title="Retrieves the Physics SDK after it has been created.">PxGetPhysics</a>(); +<a name="l00836"></a>00836 +<a name="l00838"></a>00838 <span class="preprocessor">#endif</span> </pre></div></div> <hr style="width: 100%; height: 2px;"><br> |