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

Constraints for cloth particle motion. More...

#include <PxClothTypes.h>

Collaboration diagram for PxClothParticleMotionConstraint:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

PxVec3 pos
 Center of the motion constraint sphere (in cloth local space) More...
 
PxReal radius
 Maximum distance the particle can move away from the sphere center. More...
 

Detailed Description

Constraints for cloth particle motion.

Defines a spherical volume to which the motion of a particle should be constrained.

See Also
PxCloth.setMotionConstraints()

Constructor & Destructor Documentation

PxClothParticleMotionConstraint::PxClothParticleMotionConstraint ( )
inline

Default constructor, performs no initialization.

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

Member Data Documentation

PxVec3 PxClothParticleMotionConstraint::pos

Center of the motion constraint sphere (in cloth local space)

PxReal PxClothParticleMotionConstraint::radius

Maximum distance the particle can move away from the sphere center.


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