arsa
2.7
|
A particle affector modifies particles. More...
#include <IParticleAffector.h>
Public Member Functions | |
IParticleAffector () | |
constructor More... | |
virtual void | affect (u32 now, SParticle *particlearray, u32 count)=0 |
Affects an array of particles. More... | |
virtual void | setEnabled (bool enabled) |
Sets whether or not the affector is currently enabled. More... | |
virtual bool | getEnabled () const |
Gets whether or not the affector is currently enabled. More... | |
virtual E_PARTICLE_AFFECTOR_TYPE | getType () const =0 |
Get emitter type. More... | |
Public Member Functions inherited from irr::io::IAttributeExchangingObject | |
virtual void | serializeAttributes (io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const |
Writes attributes of the object. More... | |
virtual void | deserializeAttributes (io::IAttributes *in, io::SAttributeReadWriteOptions *options=0) |
Reads attributes of the object. More... | |
Public Member Functions inherited from irr::IReferenceCounted | |
IReferenceCounted () | |
Constructor. More... | |
virtual | ~IReferenceCounted () |
Destructor. More... | |
void | grab () const |
Grabs the object. Increments the reference counter by one. More... | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. More... | |
s32 | getReferenceCount () const |
Get the reference count. More... | |
const c8 * | getDebugName () const |
Returns the debug name of the object. More... | |
Protected Attributes | |
bool | Enabled |
Additional Inherited Members | |
Protected Member Functions inherited from irr::IReferenceCounted | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. More... | |
A particle affector modifies particles.
Definition at line 41 of file IParticleAffector.h.
|
inline |
|
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. |
|
inlinevirtual |
Gets whether or not the affector is currently enabled.
Definition at line 58 of file IParticleAffector.h.
|
pure virtual |
Get emitter type.
Implemented in irr::scene::IParticleAttractionAffector, irr::scene::IParticleGravityAffector, irr::scene::IParticleFadeOutAffector, and irr::scene::IParticleRotationAffector.
|
inlinevirtual |
Sets whether or not the affector is currently enabled.
Definition at line 55 of file IParticleAffector.h.
|
protected |
Definition at line 64 of file IParticleAffector.h.