#include <PxParticleFlag.h>
Public Types | |
enum | Enum { eVALID = (1<<0), eCOLLISION_WITH_STATIC = (1<<1), eCOLLISION_WITH_DYNAMIC = (1<<2), eCOLLISION_WITH_DRAIN = (1<<3), eSPATIAL_DATA_STRUCTURE_OVERFLOW = (1<<4) } |
Particle flags are used for additional information on the particles.
enum PxParticleFlag::Enum |
Enumerator | |
---|---|
eVALID |
Marks a valid particle. The particle data corresponding to these particle flags is valid, i.e. defines a particle, when set. Particles that are not marked with PxParticleFlag::eVALID are ignored during simulation. Application read only. |
eCOLLISION_WITH_STATIC |
Marks a particle that has collided with a static actor shape. Application read only. |
eCOLLISION_WITH_DYNAMIC |
Marks a particle that has collided with a dynamic actor shape. Application read only. |
eCOLLISION_WITH_DRAIN |
Marks a particle that has collided with a shape that has been flagged as a drain (See PxShapeFlag.ePARTICLE_DRAIN). Application read only.
|
eSPATIAL_DATA_STRUCTURE_OVERFLOW |
Marks a particle that had to be ignored for simulation, because the spatial data structure ran out of resources. Application read only. |