PxSoftBodySimulationDataDesc

Defined in include/cooking/PxTetrahedronMeshDesc.h

class PxSoftBodySimulationDataDesc

**

Public Functions

inline PxSoftBodySimulationDataDesc()

Constructor to build an empty simulation description.

inline PxSoftBodySimulationDataDesc(physx::PxArray<physx::PxI32> &vertToTet)

Constructor to build a simulation description with a defined vertex to tetrahedron mapping.

inline bool isValid() const

Public Members

PxBoundedData vertexToTet

Pointer to first index of tetrahedron that contains the vertex at the same location in the vertex buffer.

if left unassigned it will be computed automatically. If a point is inside multiple tetrahedra (ambiguous case), the frist one found will be taken.