Irrlicht 3D Engine: IParticleFadeOutAffector.h Source File

| Irrlicht 3D Engine |

IParticleFadeOutAffector.h
Go to the documentation of this file.

    00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    00004
    00005 #ifndef __I_PARTICLE_FADE_OUT_AFFECTOR_H_INCLUDED__
    00006 #define __I_PARTICLE_FADE_OUT_AFFECTOR_H_INCLUDED__
    00007
    00008 #include "IParticleAffector.h"
    00009
    00010 namespace irr
    00011 {
    00012 namespace scene
    00013 {
    00014
    00016 class IParticleFadeOutAffector : public IParticleAffector
    00017 {
    00018 public:
    00019
    00021     virtual void setTargetColor( const video::SColor& targetColor ) = 0;
    00022
    00024     virtual void setFadeOutTime( u32 fadeOutTime ) = 0;
    00025
    00027     virtual const video::SColor& getTargetColor() const = 0;
    00028
    00030     virtual u32 getFadeOutTime() const = 0;
    00031
    00033     virtual E_PARTICLE_AFFECTOR_TYPE getType() const { return EPAT_FADE_OUT; }
    00034 };
    00035
    00036 } // end namespace scene
    00037 } // end namespace irr
    00038
    00039
    00040 #endif // __I_PARTICLE_FADE_OUT_AFFECTOR_H_INCLUDED__
    00041