A particle affector modifies particles. More...
#include <IParticleAffector.h>
A particle affector modifies particles.
Definition at line 41 of file IParticleAffector.h.
irr::scene::IParticleAffector::IParticleAffector | ( | ) | [inline] |
constructor
Definition at line 46 of file IParticleAffector.h.
virtual void irr::scene::IParticleAffector::affect | ( | u32 | now, |
SParticle * | particlearray, | ||
u32 | count | ||
) | [pure virtual] |
Affects an array of particles.
now | Current time. (Same as ITimer::getTime() would return) |
particlearray | Array of particles. |
count | Amount of particles in array. |
virtual bool irr::scene::IParticleAffector::getEnabled | ( | ) | const [inline, virtual] |
Gets whether or not the affector is currently enabled.
Definition at line 58 of file IParticleAffector.h.
References Enabled.
virtual E_PARTICLE_AFFECTOR_TYPE irr::scene::IParticleAffector::getType | ( | ) | const [pure virtual] |
Get emitter type.
Implemented in irr::scene::IParticleAttractionAffector, irr::scene::IParticleGravityAffector, irr::scene::IParticleFadeOutAffector, and irr::scene::IParticleRotationAffector.
virtual void irr::scene::IParticleAffector::setEnabled | ( | bool | enabled | ) | [inline, virtual] |
Sets whether or not the affector is currently enabled.
Definition at line 55 of file IParticleAffector.h.
References Enabled.
bool irr::scene::IParticleAffector::Enabled [protected] |
Definition at line 64 of file IParticleAffector.h.
Referenced by getEnabled(), and setEnabled().