ExtGpu::PxParticleClothConstraint

Defined in include/extensions/PxParticleClothCooker.h

struct PxParticleClothConstraint

Holds all the information for a particle cloth constraint used in the PxParticleClothCooker.

Public Types

enum [anonymous]

Values:

enumerator eTYPE_INVALID_CONSTRAINT
enumerator eTYPE_HORIZONTAL_CONSTRAINT
enumerator eTYPE_VERTICAL_CONSTRAINT
enumerator eTYPE_DIAGONAL_CONSTRAINT
enumerator eTYPE_BENDING_CONSTRAINT
enumerator eTYPE_DIAGONAL_BENDING_CONSTRAINT
enumerator eTYPE_ALL

Public Members

PxU32 particleIndexA

The first particle index of this constraint.

PxU32 particleIndexB

The second particle index of this constraint.

PxReal length

The distance between particle A and B.

PxU32 constraintType

The type of constraint, see the constraint type enum.