Loading...
Searching...
No Matches
IParticleFadeOutAffector.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_PARTICLE_FADE_OUT_AFFECTOR_H_INCLUDED__
#define __I_PARTICLE_FADE_OUT_AFFECTOR_H_INCLUDED__
#include "IParticleAffector.h"
namespace irr
{
namespace scene
{
class IParticleFadeOutAffector : public IParticleAffector
{
public:
virtual void setTargetColor( const video::SColor& targetColor ) = 0;
virtual void setFadeOutTime( u32 fadeOutTime ) = 0;
virtual const video::SColor& getTargetColor() const = 0;
virtual u32 getFadeOutTime() const = 0;
virtual E_PARTICLE_AFFECTOR_TYPE getType() const { return EPAT_FADE_OUT; }
};
} // end namespace scene
} // end namespace irr
#endif // __I_PARTICLE_FADE_OUT_AFFECTOR_H_INCLUDED__
IParticleAffector.h
irr::scene::IParticleAffector::IParticleAffector
IParticleAffector()
constructor
Definition IParticleAffector.h:46
irr::scene::IParticleFadeOutAffector
A particle affector which fades out the particles.
Definition IParticleFadeOutAffector.h:17
irr::scene::IParticleFadeOutAffector::getFadeOutTime
virtual u32 getFadeOutTime() const =0
Gets the time in milliseconds it takes for each particle to fade out.
irr::scene::IParticleFadeOutAffector::setTargetColor
virtual void setTargetColor(const video::SColor &targetColor)=0
Sets the targetColor, i.e. the color the particles will interpolate to over time.
irr::scene::IParticleFadeOutAffector::setFadeOutTime
virtual void setFadeOutTime(u32 fadeOutTime)=0
Sets the time in milliseconds it takes for each particle to fade out (minimal 1 ms).
irr::scene::IParticleFadeOutAffector::getType
virtual E_PARTICLE_AFFECTOR_TYPE getType() const
Get emitter type.
Definition IParticleFadeOutAffector.h:33
irr::scene::IParticleFadeOutAffector::getTargetColor
virtual const video::SColor & getTargetColor() const =0
Gets the targetColor, i.e. the color the particles will interpolate to over time.
irr::video::SColor
Class representing a 32 bit ARGB color.
Definition SColor.h:202
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr::scene::E_PARTICLE_AFFECTOR_TYPE
E_PARTICLE_AFFECTOR_TYPE
Types of built in particle affectors.
Definition IParticleAffector.h:18
irr::scene::EPAT_FADE_OUT
@ EPAT_FADE_OUT
Definition IParticleAffector.h:21
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0