Name Description Size Coverage
PxBoxGeometry.h \brief Class representing the geometry of a box. The geometry of a box can be fully specified by its half extents. This is the half of its width, height, and depth. \note The scaling of the box is expected to be baked into these values, there is no additional scaling parameter. 2485 -
PxBVH.h \brief Class representing a bounding volume hierarchy. PxBVH can be provided to PxScene::addActor. In this case the scene query pruning structure inside PhysX SDK will store/update one bound per actor. The scene queries against such an actor will query actor bounds and then make a local space query against the provided BVH, which is in actor's local space. PxBVH can also be used as a standalone data-structure for arbitrary purposes, unrelated to PxScene / PxActor. \see PxScene::addActor 10498 -
PxBVHBuildStrategy.h \brief Desired build strategy for bounding-volume hierarchies 947 -
PxCapsuleGeometry.h \brief Class representing the geometry of a capsule. Capsules are shaped as the union of a cylinder of length 2 * halfHeight and with the given radius centered at the origin and extending along the x axis, and two hemispherical ends. \note The scaling of the capsule is expected to be baked into these values, there is no additional scaling parameter. The function PxTransformFromSegment is a helper for generating an appropriate transform for the capsule from the capsule's interior line segment. \see PxTransformFromSegment 2509 -
PxConvexCoreGeometry.h \brief Pre-authored cores for convex core geometry 7989 -
PxConvexMesh.h \brief Polygon data Plane format: (mPlane[0],mPlane[1],mPlane[2]).dot(x) + mPlane[3] = 0 With the normal outward-facing from the hull. 4997 -
PxConvexMeshGeometry.h \brief Flags controlling the simulated behavior of the convex mesh geometry. Used in ::PxConvexMeshGeometryFlags. 3660 -
PxCustomGeometry.h \brief Custom geometry class. This class allows user to create custom geometries by providing a set of virtual callback functions. 9336 -
PxGeometry.h \brief A geometry type. Used to distinguish the type of a ::PxGeometry object. 1808 -
PxGeometryHelpers.h \brief Geometry holder class This class contains enough space to hold a value of any PxGeometry subtype. Its principal use is as a convenience class to allow geometries to be returned polymorphically from functions. 7168 -
PxGeometryHit.h \brief Scene query and geometry query behavior flags. PxHitFlags are used for 3 different purposes: 1) To request hit fields to be filled in by scene queries (such as hit position, normal, face index or UVs). 2) Once query is completed, to indicate which fields are valid (note that a query may produce more valid fields than requested). 3) To specify additional options for the narrow phase and mid-phase intersection routines. All these flags apply to both scene queries and geometry queries (PxGeometryQuery). \see PxRaycastHit PxSweepHit PxOverlapHit PxScene.raycast PxScene.sweep PxScene.overlap PxGeometryQuery PxFindFaceIndex 6524 -
PxGeometryQuery.h \brief Maximum sweep distance for scene sweeps. The distance parameter for sweep functions will be clamped to this value. The reason for this is GJK support cannot be evaluated near infinity. A viable alternative can be a sweep followed by an infinite raycast. \see PxScene 11051 -
PxGeometryQueryContext.h \brief A per-thread context passed to low-level query functions. This is a user-defined optional parameter that gets passed down to low-level query functions (raycast / overlap / sweep). This is not used directly in PhysX, although the context in this case is the PxHitCallback used in the query. This allows user-defined query functions, such as the ones from PxCustomGeometry, to get some additional data about the query. In this case this is a 'per-query' context rather than 'per-thread', but the initial goal of this parameter is to give custom query callbacks access to per-thread data structures (e.g. caches) that could be needed to implement the callbacks. In any case this is mostly for user-controlled query systems. 1643 -
PxGeometryQueryFlags.h \brief Geometry-level query flags. \see PxScene::raycast PxScene::overlap PxScene::sweep PxBVH::raycast PxBVH::overlap PxBVH::sweep PxGeometryQuery::raycast PxGeometryQuery::overlap PxGeometryQuery::sweep \see PxGeometryQuery::computePenetration PxGeometryQuery::pointDistance PxGeometryQuery::computeGeomBounds \see PxMeshQuery::findOverlapTriangleMesh PxMeshQuery::findOverlapHeightField PxMeshQuery::sweep 1301 -
PxGjkQuery.h \brief Collection of GJK query functions (sweeps, raycasts, overlaps, ...). 4311 -
PxHeightField.h \brief A height field class. Height fields work in a similar way as triangle meshes specified to act as height fields, with some important differences: Triangle meshes can be made of nonuniform geometry, while height fields are regular, rectangular grids. This means that with PxHeightField, you sacrifice flexibility in return for improved performance and decreased memory consumption. In local space rows extend in X direction, columns in Z direction and height in Y direction. Like Convexes and TriangleMeshes, HeightFields are referenced by shape instances (see #PxHeightFieldGeometry, #PxShape). To avoid duplicating data when you have several instances of a particular height field differently, you do not use this class to represent a height field object directly. Instead, you create an instance of this height field via the PxHeightFieldGeometry and PxShape classes. <h3>Creation</h3> To create an instance of this class call PxPhysics::createHeightField() or PxCooking::createHeightField(const PxHeightFieldDesc&, PxInsertionCallback&). To delete it call release(). This is only possible once you have released all of its PxHeightFiedShape instances. <h3>Visualizations:</h3> \li #PxVisualizationParameter::eCOLLISION_AABBS \li #PxVisualizationParameter::eCOLLISION_SHAPES \li #PxVisualizationParameter::eCOLLISION_AXES \li #PxVisualizationParameter::eCOLLISION_FNORMALS \li #PxVisualizationParameter::eCOLLISION_EDGES \see PxHeightFieldDesc PxHeightFieldGeometry PxShape PxPhysics.createHeightField() PxCooking.createHeightField() 7865 -
PxHeightFieldDesc.h \brief Descriptor class for #PxHeightField. \note The heightfield data is *copied* when a PxHeightField object is created from this descriptor. After the call the user may discard the height data. \see PxHeightField PxHeightFieldGeometry PxShape PxPhysics.createHeightField() PxCooking.createHeightField() 4125 -
PxHeightFieldFlag.h \brief Describes the format of height field samples. \see PxHeightFieldDesc.format PxHeightFieldDesc.samples 3020 -
PxHeightFieldGeometry.h \brief Height field geometry class. This class allows to create a scaled height field geometry instance. There is a minimum allowed value for Y and XZ scaling - PX_MIN_HEIGHTFIELD_XZ_SCALE, heightfield creation will fail if XZ value is below this value. 3571 -
PxHeightFieldSample.h \brief Special material index values for height field samples. \see PxHeightFieldSample.materialIndex0 PxHeightFieldSample.materialIndex1 3072 -
PxMeshQuery.h \brief Retrieves triangle data from a triangle ID. This function can be used together with #findOverlapTriangleMesh() to retrieve triangle properties. \param[in] triGeom Geometry of the triangle mesh to extract the triangle from. \param[in] transform Transform for the triangle mesh \param[in] triangleIndex The index of the triangle to retrieve. \param[out] triangle Triangle points in world space. \param[out] vertexIndices Returned vertex indices for given triangle \param[out] adjacencyIndices Returned 3 triangle adjacency internal face indices (0xFFFFFFFF if no adjacency). The mesh must be cooked with cooking param buildTriangleAdjacencies enabled. \note This function will flip the triangle normal whenever triGeom.scale.hasNegativeDeterminant() is true. \see PxTriangle PxTriangleFlags PxTriangleID findOverlapTriangleMesh() 13535 -
PxMeshScale.h \brief Minimum allowed absolute magnitude for each of mesh scale's components (x,y,z). \note Only positive scale values are allowed for convex meshes. 4153 -
PxParticleSystemGeometry.h \brief Particle system geometry class. 1506 -
PxPlaneGeometry.h \brief Class describing a plane geometry. The plane geometry specifies the half-space volume x<=0. As with other geometry types, when used in a PxShape the collision volume is obtained by transforming the halfspace by the shape local pose and the actor global pose. To generate a PxPlane from a PxTransform, transform PxPlane(1,0,0,0). To generate a PxTransform from a PxPlane, use PxTransformFromPlaneEquation. \see PxShape.setGeometry() PxShape.getPlaneGeometry() PxTransformFromPlaneEquation 1697 -
PxReportCallback.h \brief Base class for all report callbacks. \see PxRegularReportCallback PxLocalStorageReportCallback PxExternalStorageReportCallback PxDynamicArrayReportCallback 7641 -
PxSimpleTriangleMesh.h \brief Enum with flag values to be used in PxSimpleTriangleMesh::flags. 3174 -
PxSphereGeometry.h \brief A class representing the geometry of a sphere. Spheres are defined by their radius. \note The scaling of the sphere is expected to be baked into this value, there is no additional scaling parameter. 1741 -
PxTetrahedron.h \brief Tetrahedron class. 1619 -
PxTetrahedronMesh.h \brief collection of set bits defined in PxTetrahedronMeshFlag. \see PxTetrahedronMeshFlag 10245 -
PxTetrahedronMeshGeometry.h \brief Tetrahedron mesh geometry class. This class wraps a tetrahedron mesh such that it can be used in contexts where a PxGeometry type is needed. 2178 -
PxTriangle.h \brief Triangle class. 2583 -
PxTriangleMesh.h \brief Mesh midphase structure. This enum is used to select the desired acceleration structure for midphase queries (i.e. raycasts, overlaps, sweeps vs triangle meshes). The PxMeshMidPhase::eBVH33 structure is the one used in recent PhysX versions (up to PhysX 3.3). It has great performance and is supported on all platforms. It is deprecated since PhysX 5.x. The PxMeshMidPhase::eBVH34 structure is a revisited implementation introduced in PhysX 3.4. It can be significantly faster both in terms of cooking performance and runtime performance. 11465 -
PxTriangleMeshGeometry.h \brief Flags controlling the simulated behavior of the triangle mesh geometry. Used in ::PxMeshGeometryFlags. 4077 -