Descriptor class for PxConvexMesh. More...
#include <PxConvexMeshDesc.h>

Public Member Functions | |
| PX_INLINE | PxConvexMeshDesc () |
| constructor sets to default. More... | |
| PX_INLINE void | setToDefault () |
| (re)sets the structure to the default. More... | |
| PX_INLINE bool | isValid () const |
| Returns true if the descriptor is valid. More... | |
Public Attributes | |
| PxBoundedData | points |
| Vertex positions data in PxBoundedData format. More... | |
| PX_DEPRECATED PxBoundedData | triangles |
| Triangle indices data in PxBoundedData format. More... | |
| PxBoundedData | polygons |
| Polygons data in PxBoundedData format. More... | |
| PxBoundedData | indices |
| Polygon indices data in PxBoundedData format. More... | |
| PxConvexFlags | flags |
| Flags bits, combined from values of the enum PxConvexFlag. More... | |
| PxU16 | vertexLimit |
| Limits the number of vertices of the result convex mesh. Hard maximum limit is 256 and minimum limit is 4. More... | |
Descriptor class for PxConvexMesh.
| PxConvexFlags PxConvexMeshDesc::flags |
| PxBoundedData PxConvexMeshDesc::indices |
Polygon indices data in PxBoundedData format.
Pointer to first index.
Default: NULL
This is declared as a void pointer because it is actually either an PxU16 or a PxU32 pointer.
Referenced by isValid().
| PxBoundedData PxConvexMeshDesc::points |
| PxBoundedData PxConvexMeshDesc::polygons |
Polygons data in PxBoundedData format.
Pointer to first polygon.
Default: NULL
Referenced by isValid().
| PX_DEPRECATED PxBoundedData PxConvexMeshDesc::triangles |
Triangle indices data in PxBoundedData format.
These are triplets of 0 based indices: vert0 vert1 vert2 vert0 vert1 vert2 vert0 vert1 vert2 ...
Where vertex is either a 32 or 16 bit unsigned integer. There are numTriangles*3 indices.
This function is deprecated in favor of creating hulls from polygons directly. To obtain polygons from your triangles use computeHullPolygons.
Default: NULL
Referenced by isValid().
| PxU16 PxConvexMeshDesc::vertexLimit |
Limits the number of vertices of the result convex mesh. Hard maximum limit is 256 and minimum limit is 4.
Please note, that if a vertex limit is used together with the inflation flag, beveling sharp edges in the inflation code may cause the limit to be exceeded.
Default: 256