References all the data required to create a fabric. More...
#include <PxClothFabric.h>
Public Member Functions | |
PX_INLINE | PxClothFabricDesc () |
constructor sets to default. More... | |
PX_INLINE void | setToDefault () |
(re)sets the structure to the default. More... | |
PX_INLINE bool | isValid () const |
Returns true if the descriptor is valid. More... | |
Public Attributes | |
PxU32 | nbParticles |
The number of particles needed when creating a PxCloth instance from the fabric. More... | |
PxU32 | nbPhases |
The number of solver phases. More... | |
const PxClothFabricPhase * | phases |
Array defining which constraints to solve each phase. See PxClothFabric.getPhases(). More... | |
PxU32 | nbSets |
The number of sets in the fabric. More... | |
const PxU32 * | sets |
Array with an index per set which points one entry beyond the last constraint of the set. See PxClothFabric.getSets(). More... | |
const PxU32 * | indices |
Array of particle indices which specifies the pair of constrained vertices. See PxClothFabric.getParticleIndices(). More... | |
const PxReal * | restvalues |
Array of rest values for each constraint. See PxClothFabric.getRestvalues(). More... | |
PxU32 | nbTethers |
Size of tetherAnchors and tetherLengths arrays, needs to be multiple of nbParticles. More... | |
const PxU32 * | tetherAnchors |
Array of particle indices specifying the tether anchors. See PxClothFabric.getTetherAnchors(). More... | |
const PxReal * | tetherLengths |
Array of rest distance between tethered particle pairs. See PxClothFabric.getTetherLengths(). More... | |
References all the data required to create a fabric.
const PxU32* PxClothFabricDesc::indices |
Array of particle indices which specifies the pair of constrained vertices. See PxClothFabric.getParticleIndices().
Referenced by isValid().
PxU32 PxClothFabricDesc::nbParticles |
PxU32 PxClothFabricDesc::nbTethers |
Size of tetherAnchors and tetherLengths arrays, needs to be multiple of nbParticles.
Referenced by isValid().
const PxClothFabricPhase* PxClothFabricDesc::phases |
Array defining which constraints to solve each phase. See PxClothFabric.getPhases().
Referenced by isValid().
const PxReal* PxClothFabricDesc::restvalues |
Array of rest values for each constraint. See PxClothFabric.getRestvalues().
Referenced by isValid().
const PxU32* PxClothFabricDesc::sets |
Array with an index per set which points one entry beyond the last constraint of the set. See PxClothFabric.getSets().
Referenced by isValid().
const PxU32* PxClothFabricDesc::tetherAnchors |
Array of particle indices specifying the tether anchors. See PxClothFabric.getTetherAnchors().
Referenced by isValid().
const PxReal* PxClothFabricDesc::tetherLengths |
Array of rest distance between tethered particle pairs. See PxClothFabric.getTetherLengths().
Referenced by isValid().