PxSoftBodyGpuDataFlag#

Defined in include/PxSoftBodyFlag.h

class PxSoftBodyGpuDataFlag#

These flags determine what data is read or written when using PxScene::copySoftBodyData() or PxScene::applySoftBodyData.

Deprecated:

There is no direct replacement. The data is exposed in the PxSoftBody interface, accessible directly from GPU. There is no replacement for eTET_REST_POSES, as the data is constant and can be derived from the input collision mesh.

Public Types

enum Enum#

Values:

enumerator eTET_INDICES#

The collision mesh tetrahedron indices (quadruples of int32)

enumerator eTET_REST_POSES#

The collision mesh tetrahedron rest poses (float 3x3 matrices)

enumerator eTET_ROTATIONS#

The collision mesh tetrahedron orientations (quaternions, quadruples of float)

enumerator eTET_POSITION_INV_MASS#

The collision mesh vertex positions and their inverted mass in the 4th component (quadruples of float)

enumerator eSIM_TET_INDICES#

The simulation mesh tetrahedron indices (quadruples of int32)

enumerator eSIM_TET_ROTATIONS#

The simulation mesh tetrahedron orientations (quaternions, quadruples of float)

enumerator eSIM_VELOCITY_INV_MASS#

The simulation mesh vertex velocities and their inverted mass in the 4th component (quadruples of float)

enumerator eSIM_POSITION_INV_MASS#

The simulation mesh vertex positions and their inverted mass in the 4th component (quadruples of float)