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