class
#include <OE/Graphics/2D/ParticleModules.hpp>
ColorModule
Contents
Base classes
- class ParticleModule
- Base particle module.
Constructors, destructors, conversion operators
- ColorModule(ParticleEmitter* emitter)
Public functions
-
void setColor(const Math::
Color4f& color) -
void setColorGradient(const Math::
ColorGradient& gradient) - void update(float deltaTime) override
- Called periodically to update the particles.