NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxClothFabricDesc Class Reference

NVIDIA PhysX SDK 3.4 API

PxClothFabricDesc Class Reference
[Cloth]

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

#include <PxClothFabric.h>

Collaboration diagram for PxClothFabricDesc:

List of all members.


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 PxClothFabricPhasephases
 Array defining which constraints to solve each phase. See PxClothFabric.getPhases().
PxU32 nbSets
 The number of sets in the fabric.
const PxU32sets
 Array with an index per set which points one entry beyond the last constraint of the set. See PxClothFabric.getSets().
const PxU32indices
 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 PxU32tetherAnchors
 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 PxU32triangles
 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).

Detailed Description

References all the data required to create a fabric.

See also:
PxPhysics.createClothFabric(), PxClothFabricCooker.getDescriptor()
Deprecated:
The PhysX cloth feature has been deprecated in PhysX version 3.4.1

Member Data Documentation

Array of particle indices which specifies the pair of constrained vertices. See PxClothFabric.getParticleIndices().

Referenced by isValid().

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

Referenced by isValid().

The number of solver phases.

Referenced by isValid().

The number of sets in the fabric.

Referenced by isValid().

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

Referenced by isValid().

The number of triangles in the triangles array. (1 triangle means 3 indices in the array).

Referenced by isValid().

Array defining which constraints to solve each phase. See PxClothFabric.getPhases().

Referenced by isValid().

Array of rest values for each constraint. See PxClothFabric.getRestvalues().

Referenced by isValid().

Array with an index per set which points one entry beyond the last constraint of the set. See PxClothFabric.getSets().

Referenced by isValid().

Array of particle indices specifying the tether anchors. See PxClothFabric.getTetherAnchors().

Referenced by isValid().

Array of rest distance between tethered particle pairs. See PxClothFabric.getTetherLengths().

Referenced by isValid().

Array of triangle indices used to calculate air friction.

Referenced by isValid().


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



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com