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

Separation constraints for cloth particle movement. More...

#include <PxClothTypes.h>

Collaboration diagram for PxClothParticleSeparationConstraint:
Collaboration graph
[legend]

Public Member Functions

 PxClothParticleSeparationConstraint ()
 Default constructor, performs no initialization. More...
 
 PxClothParticleSeparationConstraint (const PxVec3 &p, PxReal r)
 

Public Attributes

PxVec3 pos
 Center of the constraint sphere (in cloth local space) More...
 
PxReal radius
 Radius of the constraint sphere such that the particle stay outside of this sphere. More...
 

Detailed Description

Separation constraints for cloth particle movement.

Defines a spherical volume such that corresponding particles should stay outside.

See Also
PxCloth.setSeparationConstraints()

Constructor & Destructor Documentation

PxClothParticleSeparationConstraint::PxClothParticleSeparationConstraint ( )
inline

Default constructor, performs no initialization.

PxClothParticleSeparationConstraint::PxClothParticleSeparationConstraint ( const PxVec3 p,
PxReal  r 
)
inline

Member Data Documentation

PxVec3 PxClothParticleSeparationConstraint::pos

Center of the constraint sphere (in cloth local space)

PxReal PxClothParticleSeparationConstraint::radius

Radius of the constraint sphere such that the particle stay outside of this sphere.


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