Triangle mesh geometry class. More...
#include <PxTriangleMeshGeometry.h>
Public Member Functions | |
PX_INLINE | PxTriangleMeshGeometry () |
PX_INLINE | PxTriangleMeshGeometry (PxTriangleMesh *mesh, const PxMeshScale &scaling=PxMeshScale(), PxMeshGeometryFlags flags=PxMeshGeometryFlags()) |
PX_INLINE bool | isValid () const |
Returns true if the geometry is valid. More... | |
Public Member Functions inherited from PxGeometry | |
PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometryType::Enum | getType () const |
Returns the type of the geometry. More... | |
Public Attributes | |
PxMeshScale | scale |
The scaling transformation. More... | |
PxMeshGeometryFlags | meshFlags |
Some flags to control the simulated behavior of the mesh geometry. More... | |
PxPadding< 3 > | paddingFromFlags |
padding for mesh flags More... | |
PxTriangleMesh * | triangleMesh |
A reference to the mesh object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from PxGeometry | |
PX_CUDA_CALLABLE PX_FORCE_INLINE | PxGeometry (PxGeometryType::Enum type) |
Protected Attributes inherited from PxGeometry | |
PxGeometryType::Enum | mType |
Triangle mesh geometry class.
This class unifies a mesh object with a scaling transform, and lets the combined object be used anywhere a PxGeometry is needed.
The scaling is a transform along arbitrary axes contained in the scale object. The vertices of the mesh in geometry (or shape) space is the PxMeshScale::toMat33() transform, multiplied by the vertex space vertices in the PxConvexMesh object.
|
inline |
|
inline |
PxMeshGeometryFlags PxTriangleMeshGeometry::meshFlags |
Some flags to control the simulated behavior of the mesh geometry.
PxPadding<3> PxTriangleMeshGeometry::paddingFromFlags |
padding for mesh flags
PxMeshScale PxTriangleMeshGeometry::scale |
The scaling transformation.
PxTriangleMesh* PxTriangleMeshGeometry::triangleMesh |
A reference to the mesh object.