Contains a particle system based on sf::Image. The module also provides several affector and emitter classes. More...
Classes | |
class | thor::ForceAffector |
Applies a translational acceleration to particles over time. More... | |
class | thor::TorqueAffector |
Applies a rotational acceleration to particles over time. More... | |
class | thor::FadeInAffector |
Fades particles out over time. More... | |
class | thor::FadeOutAffector |
Fades particles out over time. More... | |
class | thor::ColorAffector |
Applies a color gradient to particles. More... | |
class | thor::DirectionalEmitter |
Class that emits particles in a given direction. More... | |
class | thor::TargetEmitter |
Emits particles towards a specified target zone. More... | |
class | thor::Particle |
Particle class More... | |
class | thor::Affector |
Abstract base class for particle affectors. More... | |
class | thor::Emitter |
Abstract base class for particle emitters. More... | |
class | thor::ParticleSystem |
Class for simple particle systems. More... | |
Functions | |
float | thor::GetPassedLifetime (const Particle &particle) |
Returns the time passed since the particle has been emitted. | |
float | thor::GetTotalLifetime (const Particle &particle) |
Returns the total time the particle is alive. | |
float | thor::GetRemainingLifetime (const Particle &particle) |
Returns the time still to pass until the particle dies. | |
float | thor::GetPassedRatio (const Particle &particle) |
Returns passed lifetime / total lifetime. | |
float | thor::GetRemainingRatio (const Particle &particle) |
Returns remaining lifetime / total lifetime. | |
void | thor::swap (ParticleSystem &lhs, ParticleSystem &rhs) |
Exchanges the contents of two ParticleSystem instances. |
Contains a particle system based on sf::Image. The module also provides several affector and emitter classes.