PxClothParticleSeparationConstraint Struct Reference
[Cloth]

Separation constraints for cloth particle movement. More...

#include <PxClothTypes.h>

Collaboration diagram for PxClothParticleSeparationConstraint:

Collaboration graph
PxVec3
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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


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

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

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-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com