The U4DParticleEmitterInterface interface contains all the methods required for the computation of the position, colors and behaviors of the particles.
More...
Inherited by U4DEngine::U4DParticleEmitter.
The U4DParticleEmitterInterface interface contains all the methods required for the computation of the position, colors and behaviors of the particles.
◆ computeColors()
virtual void U4DEngine::U4DParticleEmitterInterface::computeColors |
( |
U4DParticle * |
uParticle | ) |
|
|
pure virtual |
◆ computePosition()
virtual void U4DEngine::U4DParticleEmitterInterface::computePosition |
( |
U4DParticle * |
uParticle | ) |
|
|
pure virtual |
◆ computeRadialAcceleration()
virtual void U4DEngine::U4DParticleEmitterInterface::computeRadialAcceleration |
( |
U4DParticle * |
uParticle | ) |
|
|
pure virtual |
◆ computeRotation()
virtual void U4DEngine::U4DParticleEmitterInterface::computeRotation |
( |
U4DParticle * |
uParticle | ) |
|
|
pure virtual |
◆ computeScale()
virtual void U4DEngine::U4DParticleEmitterInterface::computeScale |
( |
U4DParticle * |
uParticle | ) |
|
|
pure virtual |
◆ computeTangentialAcceleration()
virtual void U4DEngine::U4DParticleEmitterInterface::computeTangentialAcceleration |
( |
U4DParticle * |
uParticle | ) |
|
|
pure virtual |
◆ computeVelocity()
virtual void U4DEngine::U4DParticleEmitterInterface::computeVelocity |
( |
U4DParticle * |
uParticle | ) |
|
|
pure virtual |
◆ decreaseNumberOfEmittedParticles()
virtual void U4DEngine::U4DParticleEmitterInterface::decreaseNumberOfEmittedParticles |
( |
| ) |
|
|
pure virtual |
decreases the number of particles emitted
If a particle's life is up, this method is called to update the current count of alive particles and the dead particle is removed from the scenegraph
Implemented in U4DEngine::U4DParticleEmitter.
◆ emitParticles()
virtual void U4DEngine::U4DParticleEmitterInterface::emitParticles |
( |
| ) |
|
|
pure virtual |
emit particles
once the position, color and velocity of the particle has been computed, the particle is loaded into the particle's system scenegraph
Implemented in U4DEngine::U4DParticleEmitter.
◆ getNumberOfEmittedParticles()
virtual int U4DEngine::U4DParticleEmitterInterface::getNumberOfEmittedParticles |
( |
| ) |
|
|
pure virtual |
◆ setEmitContinuously()
virtual void U4DEngine::U4DParticleEmitterInterface::setEmitContinuously |
( |
bool |
uValue | ) |
|
|
pure virtual |
sets if the particle should emit the particles continuously
- Parameters
-
uValue | true for continuous emission, false for only one emission |
Implemented in U4DEngine::U4DParticleEmitter.
◆ setEmitterDurationRate()
virtual void U4DEngine::U4DParticleEmitterInterface::setEmitterDurationRate |
( |
float |
uEmitterDurationRate | ) |
|
|
pure virtual |
◆ setNumberOfParticlesPerEmission()
virtual void U4DEngine::U4DParticleEmitterInterface::setNumberOfParticlesPerEmission |
( |
int |
uNumberOfParticles | ) |
|
|
pure virtual |
◆ setParticleData()
virtual void U4DEngine::U4DParticleEmitterInterface::setParticleData |
( |
U4DParticleData & |
uParticleData | ) |
|
|
pure virtual |
◆ setParticleEmissionRate()
virtual void U4DEngine::U4DParticleEmitterInterface::setParticleEmissionRate |
( |
float |
uEmissionRate | ) |
|
|
pure virtual |
sets the emission rate.
This rate sets how often to emit particles. The lower the value, the more frequent the emision
- Parameters
-
uEmissionRate | emission rate |
Implemented in U4DEngine::U4DParticleEmitter.
◆ setParticleSystem()
virtual void U4DEngine::U4DParticleEmitterInterface::setParticleSystem |
( |
U4DParticleSystem * |
uParticleSystem | ) |
|
|
pure virtual |