A particle affector modifies particles. More...
#include <IParticleAffector.h>
Inheritance diagram for irr::scene::IParticleAffector:
A particle affector modifies particles.
Definition at line 37 of file IParticleAffector.h.
| irr::scene::IParticleAffector::IParticleAffector | ( | ) | [inline] |
constructor
Definition at line 42 of file IParticleAffector.h.
References affect(), Enabled, getEnabled(), getType(), and setEnabled().
| 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. |
Referenced by IParticleAffector().
| virtual bool irr::scene::IParticleAffector::getEnabled | ( | ) | const [inline, virtual] |
Gets whether or not the affector is currently enabled.
Definition at line 54 of file IParticleAffector.h.
Referenced by IParticleAffector().
| virtual E_PARTICLE_AFFECTOR_TYPE irr::scene::IParticleAffector::getType | ( | ) | const [pure virtual] |
Get emitter type.
Implemented in irr::scene::IParticleAttractionAffector, irr::scene::IParticleFadeOutAffector, irr::scene::IParticleGravityAffector, and irr::scene::IParticleRotationAffector.
Referenced by IParticleAffector().
| virtual void irr::scene::IParticleAffector::setEnabled | ( | bool | enabled | ) | [inline, virtual] |
Sets whether or not the affector is currently enabled.
Definition at line 51 of file IParticleAffector.h.
Referenced by IParticleAffector().
bool irr::scene::IParticleAffector::Enabled [protected] |
Definition at line 60 of file IParticleAffector.h.
Referenced by IParticleAffector().