|
Particle Universe
1.2
|
#include <ParticleUniverseHook.h>
Public Types | |
| typedef vector< T * > | HookList |
Static Public Member Functions | |
| static void | _prepare (HookList *list, ParticleTechnique *technique) |
| static void | _unprepare (HookList *list, ParticleTechnique *technique) |
| static void | _notifyStart (HookList *list) |
| static void | _notifyPause (HookList *list) |
| static void | _notifyResume (HookList *list) |
| static void | _notifyStop (HookList *list) |
| static void | _preProcessParticles (HookList *list, ParticleTechnique *technique, Real timeElapsed) |
| static void | _processParticle (HookList *list, ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed, bool firstParticle) |
| static void | _postProcessParticles (HookList *list, ParticleTechnique *technique, Real timeElapsed) |
The Hook class is a template helper class that is used to call the hook functions of objects (Affectors, Externs, ...) registered at the ParticleSystem. This prevents that the same code is duplicated too much.
| typedef vector<T*> ParticleUniverse::Hook< T >::HookList |
|
inlinestatic |
Templated version to notify objects that the ParticleSystem pauses
|
inlinestatic |
Templated version to notify objects that the ParticleSystem resumes
|
inlinestatic |
Templated version to notify objects that the ParticleSystem starts
|
inlinestatic |
Templated version to notify objects that the ParticleSystem stops
|
inlinestatic |
Templated version of _postProcessParticles.
|
inlinestatic |
Templated version to prepare objects.
|
inlinestatic |
Templated version of _preProcessParticles.
|
inlinestatic |
Templated version to process a particle.
|
inlinestatic |
Templated version to unprepare objects.