Irrlicht 3D Engine
 
Loading...
Searching...
No Matches
IParticleBoxEmitter.h
Go to the documentation of this file.
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5#ifndef __I_PARTICLE_BOX_EMITTER_H_INCLUDED__
6#define __I_PARTICLE_BOX_EMITTER_H_INCLUDED__
7
8#include "IParticleEmitter.h"
9#include "aabbox3d.h"
10
11namespace irr
12{
13namespace scene
14{
15
18{
19public:
20
22 virtual void setBox( const core::aabbox3df& box ) = 0;
23
25 virtual const core::aabbox3df& getBox() const = 0;
26
28 virtual E_PARTICLE_EMITTER_TYPE getType() const { return EPET_BOX; }
29};
30
31} // end namespace scene
32} // end namespace irr
33
34
35#endif
36
A particle emitter which emits particles from a box shaped space.
virtual E_PARTICLE_EMITTER_TYPE getType() const
Get emitter type.
virtual const core::aabbox3df & getBox() const =0
Get the box shape set.
virtual void setBox(const core::aabbox3df &box)=0
Set the box shape.
A particle emitter for using with particle systems.
E_PARTICLE_EMITTER_TYPE
Types of built in particle emitters.
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13