PhysX SDK 3.2 API Reference: Cloth

PhysX SDK 3.2 API

Cloth


Classes

class  PxCloth
 Set of connected particles tailored towards simulating character cloth. A cloth object consists of the following components:. More...
struct  PxClothCollisionSphere
 sphere representation used for cloth-capsule collision More...
struct  PxClothCollisionPlane
 plane representation used for cloth-convex collision More...
class  PxClothCollisionData
 Collision data used for cloth-sphere and cloth-capsule collision. More...
class  PxClothFabric
 A cloth fabric is a structure that contains all the internal solver constraints of a clothing mesh. More...
struct  PxClothFabricPhaseType
 describe type of phase in cloth fabric More...
struct  PxClothPhaseSolverConfig
 Solver configuration parameters for a cloth fabric phase type. More...
struct  PxClothFlag
 flag for behaviors of the cloth solver More...
struct  PxClothParticle
 per particle data for cloth More...
struct  PxClothParticleMotionConstraint
 Constraints for cloth particle motion. More...
struct  PxClothParticleSeparationConstraint
 Separation constraints for cloth particle movement. More...

Typedefs

typedef PxFlags
< PxClothFlag::Enum, PxU16
PxClothFlags

Functions

 PX_FLAGS_OPERATORS (PxClothFlag::Enum, PxU16)
PX_DEPRECATED PX_INLINE PxClothPxActor::isCloth ()
PX_DEPRECATED PX_INLINE const
PxCloth
PxActor::isCloth () const
PX_INLINE PxClothCollisionData::PxClothCollisionData ()
 constructor sets to default.
PX_INLINE void PxClothCollisionData::setToDefault ()
 (re)sets the structure to the default.
PX_INLINE bool PxClothCollisionData::isValid () const
 Returns true if the descriptor is valid.
PX_INLINE PxClothPhaseSolverConfig::PxClothPhaseSolverConfig ()
 constructor sets to default.

Typedef Documentation


Function Documentation

PX_INLINE const PxCloth * PxActor::isCloth (  )  const [inherited]

PX_INLINE PxCloth * PxActor::isCloth (  )  [inherited]

PX_INLINE bool PxClothCollisionData::isValid (  )  const [inherited]

Returns true if the descriptor is valid.

Returns:
True if the current settings are valid

References PxClothCollisionData::numPairs, PxClothCollisionData::numSpheres, PxClothCollisionData::pairIndexBuffer, and PxClothCollisionData::spheres.

PX_FLAGS_OPERATORS ( PxClothFlag::Enum  ,
PxU16   
)

PX_INLINE PxClothCollisionData::PxClothCollisionData (  )  [inherited]

PX_INLINE PxClothPhaseSolverConfig::PxClothPhaseSolverConfig (  )  [inherited]

PX_INLINE void PxClothCollisionData::setToDefault (  )  [inherited]

(re)sets the structure to the default.

References PxClothCollisionData::PxClothCollisionData().



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