|
RavEngine
|
Parameters to configure the behavior of diffuse particles. More...
#include <PxParticleBuffer.h>
Public Member Functions | |
| PX_INLINE | PxDiffuseParticleParams () |
| Construct parameters with default values. | |
| PX_INLINE void | setToDefault () |
| (re)sets the structure to the default. | |
Public Attributes | |
| PxReal | threshold |
| Particles with potential value greater than the threshold will spawn diffuse particles. | |
| PxReal | lifetime |
| Diffuse particle will be removed after the specified lifetime. | |
| PxReal | airDrag |
| Air drag force factor for spray particles. | |
| PxReal | bubbleDrag |
| Fluid drag force factor for bubble particles. | |
| PxReal | buoyancy |
| Buoyancy force factor for bubble particles. | |
| PxReal | kineticEnergyWeight |
| Contribution from kinetic energy when deciding diffuse particle creation. | |
| PxReal | pressureWeight |
| Contribution from pressure when deciding diffuse particle creation. | |
| PxReal | divergenceWeight |
| Contribution from divergence when deciding diffuse particle creation. | |
| PxReal | collisionDecay |
| Decay factor of diffuse particles' lifetime after they collide with shapes. | |
| bool | useAccurateVelocity |
| If true, enables accurate velocity estimation when using PBD solver. | |
Parameters to configure the behavior of diffuse particles.