NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxClothParticle Struct Reference

NVIDIA PhysX SDK 3.4 API

PxClothParticle Struct Reference
[Cloth]

Per particle data for cloth. More...

#include <PxClothTypes.h>

Collaboration diagram for PxClothParticle:

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()

Deprecated:
The PhysX cloth feature has been deprecated in PhysX version 3.4.1

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