+#include <PxClothFabric.h>
+
+

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