Particle Universe
1.2
|
#include <ParticleUniverseAffectorFactory.h>
Public Member Functions | |
ParticleAffectorFactory (void) | |
virtual | ~ParticleAffectorFactory (void) |
virtual String | getAffectorType (void) const =0 |
virtual ParticleAffector * | createAffector (void)=0 |
void | destroyAffector (ParticleAffector *affector) |
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 > | |
ParticleAffector * | _createAffector (void) |
This is the base factory of all ParticleAffector implementations.
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
pure virtual |
Creates a new affector instance.
Implemented in ParticleUniverse::BaseColliderFactory, ParticleUniverse::BaseForceAffectorFactory, ParticleUniverse::GeometryRotatorFactory, ParticleUniverse::LinearForceAffectorFactory, ParticleUniverse::AlignAffectorFactory, ParticleUniverse::BoxColliderFactory, ParticleUniverse::CollisionAvoidanceAffectorFactory, ParticleUniverse::ColourAffectorFactory, ParticleUniverse::FlockCenteringAffectorFactory, ParticleUniverse::ForceFieldAffectorFactory, ParticleUniverse::GravityAffectorFactory, ParticleUniverse::InterParticleColliderFactory, ParticleUniverse::JetAffectorFactory, ParticleUniverse::LineAffectorFactory, ParticleUniverse::ParticleFollowerFactory, ParticleUniverse::PathFollowerFactory, ParticleUniverse::PlaneColliderFactory, ParticleUniverse::RandomiserFactory, ParticleUniverse::ScaleAffectorFactory, ParticleUniverse::ScaleVelocityAffectorFactory, ParticleUniverse::SineForceAffectorFactory, ParticleUniverse::SphereColliderFactory, ParticleUniverse::TextureAnimatorFactory, ParticleUniverse::TextureRotatorFactory, ParticleUniverse::VelocityMatchingAffectorFactory, and ParticleUniverse::VortexAffectorFactory.
|
inline |
Delete an affector
|
pure virtual |
Returns the type of the factory, which identifies the particle affector type this factory creates.
Implemented in ParticleUniverse::BaseColliderFactory, ParticleUniverse::BaseForceAffectorFactory, ParticleUniverse::GeometryRotatorFactory, ParticleUniverse::LinearForceAffectorFactory, ParticleUniverse::AlignAffectorFactory, ParticleUniverse::BoxColliderFactory, ParticleUniverse::CollisionAvoidanceAffectorFactory, ParticleUniverse::ColourAffectorFactory, ParticleUniverse::FlockCenteringAffectorFactory, ParticleUniverse::ForceFieldAffectorFactory, ParticleUniverse::GravityAffectorFactory, ParticleUniverse::InterParticleColliderFactory, ParticleUniverse::JetAffectorFactory, ParticleUniverse::LineAffectorFactory, ParticleUniverse::ParticleFollowerFactory, ParticleUniverse::PathFollowerFactory, ParticleUniverse::PlaneColliderFactory, ParticleUniverse::RandomiserFactory, ParticleUniverse::ScaleAffectorFactory, ParticleUniverse::ScaleVelocityAffectorFactory, ParticleUniverse::SineForceAffectorFactory, ParticleUniverse::SphereColliderFactory, ParticleUniverse::TextureAnimatorFactory, ParticleUniverse::TextureRotatorFactory, ParticleUniverse::VelocityMatchingAffectorFactory, and ParticleUniverse::VortexAffectorFactory.