RavEngine
Loading...
Searching...
No Matches
physx::ExtGpu::PxParticleClothConstraint Struct Reference

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

#include <PxParticleClothCooker.h>

Public Types

enum  {
  eTYPE_INVALID_CONSTRAINT = 0 , eTYPE_HORIZONTAL_CONSTRAINT = 1 , eTYPE_VERTICAL_CONSTRAINT = 2 , eTYPE_DIAGONAL_CONSTRAINT = 4 ,
  eTYPE_BENDING_CONSTRAINT = 8 , eTYPE_DIAGONAL_BENDING_CONSTRAINT = 16 , eTYPE_ALL = eTYPE_HORIZONTAL_CONSTRAINT | eTYPE_VERTICAL_CONSTRAINT | eTYPE_DIAGONAL_CONSTRAINT | eTYPE_BENDING_CONSTRAINT | eTYPE_DIAGONAL_BENDING_CONSTRAINT
}
 

Public Attributes

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.
 

Detailed Description

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


The documentation for this struct was generated from the following file: