PxClothParticle Struct Reference
[Cloth]

Per particle data for cloth. More...

#include <PxClothTypes.h>

Collaboration diagram for PxClothParticle:

Collaboration graph
PxVec3
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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


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

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

position of the particle (in cloth local space)


The documentation for this struct 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