PxDeformableVolumeSimulationDataDesc

Defined in include/cooking/PxTetrahedronMeshDesc.h

class PxDeformableVolumeSimulationDataDesc

Descriptor class for PxDeformableVolumeMesh (contains only additional data used for deformable volume simulation).

See also

PxDeformableVolumeMesh PxShape

Public Functions

inline PxDeformableVolumeSimulationDataDesc()

Constructor to build an empty simulation description.

inline PxDeformableVolumeSimulationDataDesc(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.