PxTetrahedronMeshGeometry#
Defined in include/geometry/PxTetrahedronMeshGeometry.h
- 
class PxTetrahedronMeshGeometry : public PxGeometry#
 Tetrahedron mesh geometry class.
This class wraps a tetrahedron mesh such that it can be used in contexts where a PxGeometry type is needed.
Public Functions
- 
inline PxTetrahedronMeshGeometry(PxTetrahedronMesh *mesh = NULL)#
 Constructor.
By default creates an empty object with a NULL mesh and identity scale.
- inline PxTetrahedronMeshGeometry(
 - const PxTetrahedronMeshGeometry &that,
 Copy constructor.
- Parameters:
 that – [in] Other object
- 
inline void operator=(const PxTetrahedronMeshGeometry &that)#
 Assignment operator.
- 
inline bool isValid() const#
 Returns true if the geometry is valid.
See also
Note
A valid tetrahedron mesh has a positive scale value in each direction (scale.scale.x > 0, scale.scale.y > 0, scale.scale.z > 0). It is illegal to call PxPhysics::createShape with a tetrahedron mesh that has zero extents in any direction.
- Returns:
 True if the current settings are valid for shape creation.
- 
inline PxGeometryType::Enum getType() const#
 Returns the type of the geometry.
- Returns:
 The type of the object.
Public Members
- 
PxTetrahedronMesh *tetrahedronMesh#
 A reference to the mesh object.
- 
float mTypePadding#
 
Protected Attributes
- 
PxGeometryType::Enum mType#
 
- 
inline PxTetrahedronMeshGeometry(PxTetrahedronMesh *mesh = NULL)#