Public Member Functions | Public Attributes | List of all members
PxClothParticle Struct Reference

Per particle data for cloth. More...

#include <PxClothTypes.h>

Collaboration diagram for PxClothParticle:
Collaboration graph
[legend]

Public Member Functions

 PxClothParticle ()
 Default constructor, performs no initialization. More...
 
 PxClothParticle (const PxVec3 &pos_, PxReal invWeight_)
 

Public Attributes

PxVec3 pos
 position of the particle (in cloth local space) More...
 
PxReal invWeight
 inverse mass of the particle. If set to 0, the particle is fully constrained. More...
 

Detailed Description

Per particle data for cloth.

Defines position of the cloth particle as well as inverse mass. When inverse mass is set to 0, the particle gets fully constrained to the position during simulation.

See Also
PxPhysics.createCloth()
PxCloth.setParticles()

Constructor & Destructor Documentation

PxClothParticle::PxClothParticle ( )
inline

Default constructor, performs no initialization.

PxClothParticle::PxClothParticle ( const PxVec3 pos_,
PxReal  invWeight_ 
)
inline

Member Data Documentation

PxReal PxClothParticle::invWeight

inverse mass of the particle. If set to 0, the particle is fully constrained.

PxVec3 PxClothParticle::pos

position of the particle (in cloth local space)


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


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