Public Member Functions
|virtual destructor |
|PxStrideIterator< const PxF32 >||densityBuffer|
|Particle density data. |
Additionally to PxParticleReadData, the density can be read from the SDK.
Particle density data.
The density depends on how close particles are to each other. The density values are normalized such that:
The density buffer is only guaranteed to be valid after the particle fluid has been simulated. Otherwise densityBuffer.ptr() is NULL. This also applies to particle fluids that are not assigned to a scene.