nv::cloth::ClothFabricDesc Class Reference
[Extensions]

References all the data required to create a fabric. More...

#include <ClothFabricCooker.h>

List of all members.

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 ClothFabricPhasephases
 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


Detailed Description

References all the data required to create a fabric.

See also:
ClothFabricCooker.getDescriptor()

Member Data Documentation

Array of particle indices which specifies the pair of constrained vertices.

See Fabric.getParticleIndices().

The number of particles needed when creating a PxCloth instance from the fabric.

The number of solver phases.

The number of sets in the fabric.

Size of tetherAnchors and tetherLengths arrays, needs to be multiple of nbParticles.

Array defining which constraints to solve each phase.

See Fabric.getPhases().

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().

Array of particle indices specifying the tether anchors.

See Fabric.getTetherAnchors().

Array of rest distance between tethered particle pairs.

See Fabric.getTetherLengths().


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