Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
|
A particle affector which fades out the particles. More...
#include <jimcpp/core/engine/IParticleFadeOutAffector.hpp>
Public Member Functions | |
virtual void | setTargetColor (const video::SColor &targetColor)=0 |
Sets the targetColor, i.e. the color the particles will interpolate to over time. | |
virtual void | setFadeOutTime (u32 fadeOutTime)=0 |
Sets the time in milliseconds it takes for each particle to fade out (minimal 1 ms) | |
virtual const video::SColor & | getTargetColor () const =0 |
Gets the targetColor, i.e. the color the particles will interpolate to over time. | |
virtual u32 | getFadeOutTime () const =0 |
Gets the time in milliseconds it takes for each particle to fade out. | |
virtual E_PARTICLE_AFFECTOR_TYPE | getType () const override |
Get emitter type. | |
Public Member Functions inherited from jpp::scene::IParticleAffector | |
IParticleAffector () | |
constructor | |
virtual void | affect (u32 now, SParticle *particlearray, u32 count)=0 |
Affects an array of particles. | |
virtual void | setEnabled (bool enabled) |
Sets whether or not the affector is currently enabled. | |
virtual bool | getEnabled () const |
Gets whether or not the affector is currently enabled. | |
Public Member Functions inherited from jpp::io::IAttributeExchangingObject | |
virtual void | serializeAttributes (io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const |
Writes attributes of the object. | |
virtual void | deserializeAttributes (io::IAttributes *in, io::SAttributeReadWriteOptions *options=0) |
Reads attributes of the object. | |
Public Member Functions inherited from jpp::IReferenceCounted | |
IReferenceCounted () | |
Constructor. | |
virtual | ~IReferenceCounted () |
Destructor. | |
void | grab () const |
Grabs the object. Increments the reference counter by one. | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. | |
s32 | getReferenceCount () const |
Get the reference count. | |
const c8 * | getDebugName () const |
Returns the debug name of the object. | |
Additional Inherited Members | |
Protected Member Functions inherited from jpp::IReferenceCounted | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. | |
Protected Attributes inherited from jpp::scene::IParticleAffector | |
bool | Enabled |
A particle affector which fades out the particles.
|
inlineoverridevirtual |
Get emitter type.
Implements jpp::scene::IParticleAffector.