![]() |
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... | |
| 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 if PxConvexFlag::ePLANE_SHIFTING is used, otherwise the minimum limit is 8. More... | |
| PxU16 | quantizedCount |
| Maximum number of vertices after quantization. The quantization is done during the vertex cleaning phase. The quantization is applied when PxConvexFlag::eQUANTIZE_INPUT is specified. 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().
| PxU16 PxConvexMeshDesc::quantizedCount |
Maximum number of vertices after quantization. The quantization is done during the vertex cleaning phase. The quantization is applied when PxConvexFlag::eQUANTIZE_INPUT is specified.
Range: [4, 65535]
Default: 255
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 if PxConvexFlag::ePLANE_SHIFTING is used, otherwise the minimum limit is 8.
Range: [4, 255]
Default: 255
Referenced by isValid().