class
#include <OE/Graphics/2D/ParticleModules.hpp>
ParticleModule Base particle module.
Contents
Derived classes
- class ColorModule
- class EmissionModule
- Affects the rate of particle creation.
- class ShapeModule
- Defines the shape from which the particles can be emitted, and their initial direction and speed.
- class SizeModule
- class TextureModule
Constructors, destructors, conversion operators
- ParticleModule(ParticleEmitter* emitter)
- ~ParticleModule() virtual
Public functions
- void initParticle(Particle* particle) virtual
- Called when a particle is created.
- void update(float deltaTime) virtual
- Called periodically to update the particles.