Defines the default emit policy that never emits particles. More...
#include <Graphics/ParticleSystem.h>
Public Member Functions | |
uint | AmountToEmit (float dt) |
Determines the number of particles to emit on each update. NOTE: All EmitPolicies must implement this function. | |
Point2f | GetEmitPosition () |
Gets the positon to emit particles from. NOTE: All EmitPolicies must implement this function. Called once before particles are emitted. |
Defines the default emit policy that never emits particles.
ParticleType | the type of particle to use in the particle system. The ParticleType is expected to inheret from the Particle class (or at least have duplicate members). |
uint DefaultEmitPolicy< ParticleType >::AmountToEmit | ( | float | dt | ) | [inline] |
Determines the number of particles to emit on each update. NOTE: All EmitPolicies must implement this function.
[in] | dt | the frame time. |
Point2f DefaultEmitPolicy< ParticleType >::GetEmitPosition | ( | ) | [inline] |
Gets the positon to emit particles from. NOTE: All EmitPolicies must implement this function. Called once before particles are emitted.