PxSimpleTriangleMesh Class Reference
[Geomutils]
A structure describing a triangle mesh.
More...
#include <PxSimpleTriangleMesh.h>
Inheritance diagram for PxSimpleTriangleMesh:
![Inheritance graph](classPxSimpleTriangleMesh__inherit__graph.png)
Collaboration diagram for PxSimpleTriangleMesh:
![Collaboration graph](classPxSimpleTriangleMesh__coll__graph.png)
Public Member Functions | |
PX_INLINE | PxSimpleTriangleMesh () |
constructor sets to default. | |
PX_INLINE void | setToDefault () |
(re)sets the structure to the default. | |
PX_INLINE bool | isValid () const |
returns true if the current settings are valid | |
Public Attributes | |
PxBoundedData | points |
Pointer to first vertex point. | |
PxBoundedData | triangles |
Pointer to first triangle. | |
PxMeshFlags | flags |
Flags bits, combined from values of the enum PxMeshFlag. |
Detailed Description
A structure describing a triangle mesh.Member Data Documentation
Pointer to first vertex point.
Referenced by PxTriangleMeshDesc::isValid(), isValid(), and PxClothMeshDesc::isValid().
Pointer to first triangle.
Caller may add triangleStrideBytes bytes to the pointer to access the next triangle.
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 is declared as a void pointer because it is actually either an PxU16 or a PxU32 pointer.
Referenced by PxTriangleMeshDesc::isValid(), isValid(), and PxClothMeshDesc::isValid().
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com