PxClothParticleMotionConstraint Struct Reference
[cloth (deprecated)]

Constraints for cloth particle motion. More...

#include <PxClothTypes.h>

Collaboration diagram for PxClothParticleMotionConstraint:

Collaboration graph
PxVec3
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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


Detailed Description

Constraints for cloth particle motion.

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

Deprecated:
The PhysX cloth feature has been deprecated in PhysX version 3.4.1
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

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

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


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


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