diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
| commit | d1c812f1162e5fdb13c215792725b2591d7428f5 (patch) | |
| tree | 407056c45c7e9320c48fca6a3697d81a061c4ea0 /PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html | |
| parent | PhysX 3.4, APEX 1.4 patch release @22121272 (diff) | |
| download | physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.tar.xz physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.zip | |
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
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 | 276 |
1 files changed, 138 insertions, 138 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 5722e88b..c54455ee 100644 --- a/PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html +++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxPhysics_8h-source.html @@ -126,150 +126,150 @@ <a name="l00254"></a>00254 <a name="l00255"></a>00255 <span class="preprocessor">#if PX_USE_CLOTH_API</span> <a name="l00256"></a>00256 <span class="preprocessor"></span> -<a name="l00266"></a>00266 <span class="keyword">virtual</span> <a class="code" href="classPxClothFabric.html" title="A cloth fabric is a structure that contains all the internal solver constraints of...">PxClothFabric</a>* createClothFabric(<a class="code" href="classPxInputStream.html" title="Input stream class for I/O.">PxInputStream</a>& stream) = 0; -<a name="l00267"></a>00267 -<a name="l00280"></a>00280 <span class="keyword">virtual</span> <a class="code" href="classPxClothFabric.html" title="A cloth fabric is a structure that contains all the internal solver constraints of...">PxClothFabric</a>* createClothFabric(<span class="keyword">const</span> <a class="code" href="classPxClothFabricDesc.html" title="References all the data required to create a fabric.">PxClothFabricDesc</a>& desc) = 0; -<a name="l00281"></a>00281 -<a name="l00289"></a>00289 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbClothFabrics() <span class="keyword">const</span> = 0; -<a name="l00290"></a>00290 -<a name="l00304"></a>00304 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getClothFabrics(<a class="code" href="classPxClothFabric.html" title="A cloth fabric is a structure that contains all the internal solver constraints of...">PxClothFabric</a>** userBuffer, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> bufferSize) <span class="keyword">const</span> = 0; -<a name="l00305"></a>00305 <span class="preprocessor">#endif</span> -<a name="l00306"></a>00306 <span class="preprocessor"></span> -<a name="l00308"></a>00308 -<a name="l00311"></a>00311 -<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="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="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="l00268"></a>00268 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <span class="keyword">virtual</span> <a class="code" href="classPxClothFabric.html" title="A cloth fabric is a structure that contains all the internal solver constraints of...">PxClothFabric</a>* createClothFabric(<a class="code" href="classPxInputStream.html" title="Input stream class for I/O.">PxInputStream</a>& stream) = 0; +<a name="l00269"></a>00269 +<a name="l00284"></a>00284 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <span class="keyword">virtual</span> <a class="code" href="classPxClothFabric.html" title="A cloth fabric is a structure that contains all the internal solver constraints of...">PxClothFabric</a>* createClothFabric(<span class="keyword">const</span> <a class="code" href="classPxClothFabricDesc.html" title="References all the data required to create a fabric.">PxClothFabricDesc</a>& desc) = 0; +<a name="l00285"></a>00285 +<a name="l00295"></a>00295 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbClothFabrics() <span class="keyword">const</span> = 0; +<a name="l00296"></a>00296 +<a name="l00312"></a>00312 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getClothFabrics(<a class="code" href="classPxClothFabric.html" title="A cloth fabric is a structure that contains all the internal solver constraints of...">PxClothFabric</a>** userBuffer, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> bufferSize) <span class="keyword">const</span> = 0; +<a name="l00313"></a>00313 <span class="preprocessor">#endif</span> +<a name="l00314"></a>00314 <span class="preprocessor"></span> +<a name="l00316"></a>00316 +<a name="l00319"></a>00319 +<a name="l00331"></a>00331 <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="l00332"></a>00332 +<a name="l00340"></a>00340 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbScenes() <span class="keyword">const</span> = 0; +<a name="l00341"></a>00341 +<a name="l00356"></a>00356 <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="l00357"></a>00357 +<a name="l00359"></a>00359 +<a name="l00362"></a>00362 +<a name="l00372"></a>00372 <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="l00373"></a>00373 +<a name="l00374"></a>00374 +<a name="l00375"></a>00375 +<a name="l00385"></a>00385 <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="l00386"></a>00386 +<a name="l00387"></a>00387 +<a name="l00388"></a>00388 <span class="preprocessor">#if PX_USE_PARTICLE_SYSTEM_API</span> +<a name="l00389"></a>00389 <span class="preprocessor"></span> +<a name="l00400"></a>00400 <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="l00401"></a>00401 +<a name="l00413"></a>00413 <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="l00414"></a>00414 <span class="preprocessor">#endif</span> +<a name="l00415"></a>00415 <span class="preprocessor"></span> +<a name="l00416"></a>00416 +<a name="l00417"></a>00417 <span class="preprocessor">#if PX_USE_CLOTH_API</span> +<a name="l00418"></a>00418 <span class="preprocessor"></span> +<a name="l00431"></a>00431 <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <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="l00432"></a>00432 <span class="preprocessor">#endif</span> +<a name="l00433"></a>00433 <span class="preprocessor"></span> +<a name="l00447"></a>00447 <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="l00448"></a>00448 +<a name="l00450"></a>00450 +<a name="l00453"></a>00453 +<a name="l00454"></a>00454 +<a name="l00470"></a><a class="code" href="classPxPhysics.html#bc564607f208cbc1944880172a3d62fe">00470</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="l00471"></a>00471 <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="l00472"></a>00472 <span class="keywordtype">bool</span> isExclusive = <span class="keyword">false</span>, +<a name="l00473"></a>00473 <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="l00474"></a>00474 { +<a name="l00475"></a>00475 <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="l00476"></a>00476 <span class="keywordflow">return</span> createShape(geometry, &materialPtr, 1, isExclusive, shapeFlags); +<a name="l00477"></a>00477 } +<a name="l00478"></a>00478 +<a name="l00479"></a>00479 +<a name="l00496"></a>00496 <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="l00497"></a>00497 <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="l00498"></a>00498 <a class="code" href="namespacephysx.html#9caf1cbcda071b6d2a9c069faa99da23">PxU16</a> materialCount, +<a name="l00499"></a>00499 <span class="keywordtype">bool</span> isExclusive = <span class="keyword">false</span>, +<a name="l00500"></a>00500 <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="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="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="l00502"></a>00502 +<a name="l00510"></a>00510 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbShapes() <span class="keyword">const</span> = 0; +<a name="l00511"></a>00511 +<a name="l00526"></a>00526 <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="l00527"></a>00527 +<a name="l00529"></a>00529 +<a name="l00532"></a>00532 +<a name="l00533"></a>00533 +<a name="l00550"></a>00550 <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="l00551"></a>00551 -<a name="l00553"></a>00553 -<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="l00552"></a>00552 +<a name="l00560"></a>00560 <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="l00561"></a>00561 +<a name="l00563"></a>00563 +<a name="l00566"></a>00566 +<a name="l00567"></a>00567 +<a name="l00579"></a>00579 <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="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="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="l00581"></a>00581 +<a name="l00589"></a>00589 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbMaterials() <span class="keyword">const</span> = 0; +<a name="l00590"></a>00590 +<a name="l00605"></a>00605 <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="l00606"></a>00606 +<a name="l00608"></a>00608 +<a name="l00611"></a>00611 +<a name="l00627"></a>00627 <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="l00628"></a>00628 +<a name="l00638"></a>00638 <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="l00639"></a>00639 +<a name="l00655"></a>00655 <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="l00656"></a>00656 +<a name="l00672"></a>00672 <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="l00673"></a>00673 -<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="l00682"></a>00682 <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="l00683"></a>00683 +<a name="l00685"></a>00685 }; +<a name="l00686"></a>00686 +<a name="l00687"></a>00687 <span class="preprocessor">#if !PX_DOXYGEN</span> +<a name="l00688"></a>00688 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span> +<a name="l00689"></a>00689 <span class="preprocessor">#endif</span> +<a name="l00690"></a>00690 <span class="preprocessor"></span> +<a name="l00698"></a>00698 <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="l00699"></a>00699 +<a name="l00717"></a>00717 <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="l00718"></a>00718 +<a name="l00731"></a>00731 <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="l00732"></a>00732 +<a name="l00740"></a><a class="code" href="group__physics.html#g6adbba7aad2d451e684110269dddd720">00740</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="l00741"></a>00741 { +<a name="l00742"></a>00742 <a class="code" href="group__physics.html#ge3a84455caaa6a7de67513ea29a315e1" title="Enables the usage of the heightfield feature.">PxRegisterHeightFields</a>(physics); +<a name="l00743"></a>00743 } <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="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="l00745"></a>00745 +<a name="l00755"></a>00755 <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#ge2faa96309a4fb0cbfcd512d2431fc82" title="Enables the usage of the cloth feature. This function is called automatically inside...">PxRegisterCloth</a>(physx::PxPhysics& physics); +<a name="l00756"></a>00756 +<a name="l00766"></a>00766 <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="l00767"></a>00767 +<a name="l00789"></a>00789 <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="l00790"></a>00790 physx::PxFoundation& foundation, +<a name="l00791"></a>00791 <span class="keyword">const</span> physx::PxTolerancesScale& scale, +<a name="l00792"></a>00792 <span class="keywordtype">bool</span> trackOutstandingAllocations = <span class="keyword">false</span>, +<a name="l00793"></a>00793 physx::PxPvd* pvd = NULL); +<a name="l00794"></a>00794 +<a name="l00822"></a><a class="code" href="group__physics.html#g8039bfec65da68b2294a97175ddb2c66">00822</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="l00823"></a>00823 physx::PxFoundation& foundation, +<a name="l00824"></a>00824 <span class="keyword">const</span> physx::PxTolerancesScale& scale, +<a name="l00825"></a>00825 <span class="keywordtype">bool</span> trackOutstandingAllocations = <span class="keyword">false</span>, +<a name="l00826"></a>00826 physx::PxPvd* pvd = NULL ) +<a name="l00827"></a>00827 { +<a name="l00828"></a>00828 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="l00829"></a>00829 <span class="keywordflow">if</span>(!physics) +<a name="l00830"></a>00830 <span class="keywordflow">return</span> NULL; +<a name="l00831"></a>00831 +<a name="l00832"></a>00832 <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="l00833"></a>00833 <a class="code" href="group__physics.html#ge3a84455caaa6a7de67513ea29a315e1" title="Enables the usage of the heightfield feature.">PxRegisterHeightFields</a>(*physics); +<a name="l00834"></a>00834 <a class="code" href="group__physics.html#ge2faa96309a4fb0cbfcd512d2431fc82" title="Enables the usage of the cloth feature. This function is called automatically inside...">PxRegisterCloth</a>(*physics); +<a name="l00835"></a>00835 <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="l00836"></a>00836 -<a name="l00838"></a>00838 <span class="preprocessor">#endif</span> +<a name="l00837"></a>00837 <span class="keywordflow">return</span> physics; +<a name="l00838"></a>00838 } +<a name="l00839"></a>00839 +<a name="l00847"></a>00847 <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="l00848"></a>00848 +<a name="l00850"></a>00850 <span class="preprocessor">#endif</span> </pre></div></div> <hr style="width: 100%; height: 2px;"><br> |