OrbitEngine::Graphics::ParticleModule class

Base particle module.

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.

Protected variables

ParticleEmitter* m_Emitter