Particle Universe
1.2
|
#include <ParticleUniverseEmitterFactory.h>
Public Member Functions | |
ParticleEmitterFactory (void) | |
virtual | ~ParticleEmitterFactory (void) |
virtual String | getEmitterType (void) const =0 |
virtual ParticleEmitter * | createEmitter (void)=0 |
void | destroyEmitter (ParticleEmitter *emitter) |
Public Member Functions inherited from ParticleUniverse::ScriptReader | |
ScriptReader (void) | |
virtual | ~ScriptReader (void) |
virtual void | translate (ScriptCompiler *compiler, const AbstractNodePtr &node) |
virtual bool | translateChildProperty (ScriptCompiler *compiler, const AbstractNodePtr &node) |
virtual bool | translateChildObject (ScriptCompiler *compiler, const AbstractNodePtr &node) |
Public Member Functions inherited from ParticleUniverse::ScriptWriter | |
ScriptWriter (void) | |
virtual | ~ScriptWriter (void) |
virtual void | write (ParticleScriptSerializer *serializer, const IElement *element)=0 |
Protected Member Functions | |
template<class T > | |
ParticleEmitter * | _createEmitter (void) |
This is the base factory of all ParticleEmitter implementations.
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
pure virtual |
Creates a new emitter instance.
Implemented in ParticleUniverse::BoxEmitterFactory, ParticleUniverse::CircleEmitterFactory, ParticleUniverse::LineEmitterFactory, ParticleUniverse::MeshSurfaceEmitterFactory, ParticleUniverse::PositionEmitterFactory, ParticleUniverse::SlaveEmitterFactory, ParticleUniverse::SphereSurfaceEmitterFactory, ParticleUniverse::VertexEmitterFactory, and ParticleUniverse::PointEmitterFactory.
|
inline |
Delete an emitter
|
pure virtual |
Returns the type of the factory, which identifies the particle emitter type this factory creates.
Implemented in ParticleUniverse::BoxEmitterFactory, ParticleUniverse::CircleEmitterFactory, ParticleUniverse::LineEmitterFactory, ParticleUniverse::MeshSurfaceEmitterFactory, ParticleUniverse::PositionEmitterFactory, ParticleUniverse::SlaveEmitterFactory, ParticleUniverse::SphereSurfaceEmitterFactory, ParticleUniverse::VertexEmitterFactory, and ParticleUniverse::PointEmitterFactory.