![]() |
Public API Reference |
![]() |
Base interface for particle effectors. More...
#include <imesh/particles.h>
Public Member Functions | |
virtual csPtr< iParticleEffector > | Clone () const =0 |
Clone this effector. | |
virtual void | EffectParticles (iParticleSystemBase *system, const csParticleBuffer &particleBuffer, float dt, float totalTime)=0 |
Calculate effect on particles and update their velocities. |
Base interface for particle effectors.
A particle effector is an object which affects the movement and lifetime of particles, such as simple forces (gravity),
Definition at line 371 of file particles.h.
virtual csPtr<iParticleEffector> iParticleEffector::Clone | ( | ) | const [pure virtual] |
Clone this effector.
virtual void iParticleEffector::EffectParticles | ( | iParticleSystemBase * | system, |
const csParticleBuffer & | particleBuffer, | ||
float | dt, | ||
float | totalTime | ||
) | [pure virtual] |
Calculate effect on particles and update their velocities.