
This class can handle a number of different emitters which can be registered for a key string. It provides a function (ParticleManager::emit) which allows for convenient particle emission.
Public Types | |
| typedef DustEmitter< 5000, ManualEmission, DustInit, DustAction > | Emitter |
Public Member Functions | |
| void | emit (const std::string &name, const G3D::Vector3 &pos, const float &dt) |
| emits a number of particles at the given position | |
| Emitter * | getEmitter (const std::string &) |
| retrieves the emitter for the given key | |
| void | process (const float &) |
| void | render (G3D::RenderDevice *) |
| void | sort () |
Static Public Member Functions | |
| static ParticleManager * | getInstance () |
| static bool | isActive () |
| static bool | isDestroyed () |
| static bool | isVirgin () |
Protected Member Functions | |
| Singleton () | |
Classes | |
| struct | DustAction |
| struct | DustInit |
| class | DustMotionInit |
| class | ManualEmission |
| manual particle emission policy | |
|
|
|
|
||||||||||||||||
|
emits a number of particles at the given position
This function accesses the emitter registered for
This function fails silently if no emitter is found for
|
|
|
retrieves the emitter for the given key
If the key is unknown, a new emitter is created, registered and returned. Note that new emitters are initialized to their default values, particularly, no particle texture is set. See the |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
see |
|
|
see |
|
|
|
|
|
see |
1.4.3