A particle emitter for using with particle systems. More...
#include <IParticleEmitter.h>
A particle emitter for using with particle systems.
A Particle emitter emitts new particles into a particle system.
Definition at line 45 of file IParticleEmitter.h.
virtual s32 irr::scene::IParticleEmitter::emitt | ( | u32 | now, |
u32 | timeSinceLastCall, | ||
SParticle *& | outArray | ||
) | [pure virtual] |
Prepares an array with new particles to emitt into the system.
now | Current time. |
timeSinceLastCall | Time elapsed since last call, in milliseconds. |
outArray | Pointer which will point to the array with the new particles to add into the system. |
virtual const core::vector3df& irr::scene::IParticleEmitter::getDirection | ( | ) | const [pure virtual] |
Get direction the emitter emits particles.
virtual s32 irr::scene::IParticleEmitter::getMaxAngleDegrees | ( | ) | const [pure virtual] |
Get maximal random derivation from the direction.
virtual u32 irr::scene::IParticleEmitter::getMaxLifeTime | ( | ) | const [pure virtual] |
Get the maximum particle life-time in milliseconds.
virtual u32 irr::scene::IParticleEmitter::getMaxParticlesPerSecond | ( | ) | const [pure virtual] |
Get the maximum number of particles the emitter emits per second.
virtual const video::SColor& irr::scene::IParticleEmitter::getMaxStartColor | ( | ) | const [pure virtual] |
Get the maximum starting color for particles.
virtual const core::dimension2df& irr::scene::IParticleEmitter::getMaxStartSize | ( | ) | const [pure virtual] |
Get the maximum starting size for particles.
virtual u32 irr::scene::IParticleEmitter::getMinLifeTime | ( | ) | const [pure virtual] |
Get the minimum particle life-time in milliseconds.
virtual u32 irr::scene::IParticleEmitter::getMinParticlesPerSecond | ( | ) | const [pure virtual] |
Get the minimum number of particles the emitter emits per second.
virtual const video::SColor& irr::scene::IParticleEmitter::getMinStartColor | ( | ) | const [pure virtual] |
Get the minimum starting color for particles.
virtual const core::dimension2df& irr::scene::IParticleEmitter::getMinStartSize | ( | ) | const [pure virtual] |
Get the minimum starting size for particles.
virtual E_PARTICLE_EMITTER_TYPE irr::scene::IParticleEmitter::getType | ( | ) | const [inline, virtual] |
Get emitter type.
Reimplemented in irr::scene::IParticleCylinderEmitter, irr::scene::IParticleAnimatedMeshSceneNodeEmitter, irr::scene::IParticleMeshEmitter, irr::scene::IParticleRingEmitter, irr::scene::IParticleSphereEmitter, and irr::scene::IParticleBoxEmitter.
Definition at line 119 of file IParticleEmitter.h.
References irr::scene::EPET_POINT.
virtual void irr::scene::IParticleEmitter::setDirection | ( | const core::vector3df & | newDirection | ) | [pure virtual] |
Set direction the emitter emits particles.
virtual void irr::scene::IParticleEmitter::setMaxAngleDegrees | ( | s32 | maxAngleDegrees | ) | [pure virtual] |
Set maximal random derivation from the direction.
virtual void irr::scene::IParticleEmitter::setMaxLifeTime | ( | u32 | lifeTimeMax | ) | [pure virtual] |
Set the maximum particle life-time in milliseconds.
virtual void irr::scene::IParticleEmitter::setMaxParticlesPerSecond | ( | u32 | maxPPS | ) | [pure virtual] |
Set maximum number of particles the emitter emits per second.
virtual void irr::scene::IParticleEmitter::setMaxStartColor | ( | const video::SColor & | color | ) | [pure virtual] |
Set maximum starting color for particles.
virtual void irr::scene::IParticleEmitter::setMaxStartSize | ( | const core::dimension2df & | size | ) | [pure virtual] |
Set the maximum starting size for particles.
virtual void irr::scene::IParticleEmitter::setMinLifeTime | ( | u32 | lifeTimeMin | ) | [pure virtual] |
Set the minimum particle life-time in milliseconds.
virtual void irr::scene::IParticleEmitter::setMinParticlesPerSecond | ( | u32 | minPPS | ) | [pure virtual] |
Set minimum number of particles the emitter emits per second.
virtual void irr::scene::IParticleEmitter::setMinStartColor | ( | const video::SColor & | color | ) | [pure virtual] |
Set minimum starting color for particles.
virtual void irr::scene::IParticleEmitter::setMinStartSize | ( | const core::dimension2df & | size | ) | [pure virtual] |
Set the minimum starting size for particles.