Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
IParticleBoxEmitter.hpp
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 nirtcpp/nirtcpp.hpp
4
5#ifndef NIRT_I_PARTICLE_BOX_EMITTER_HPP_INCLUDED
6#define NIRT_I_PARTICLE_BOX_EMITTER_HPP_INCLUDED
7
8#include <nirtcpp/core/engine/IParticleEmitter.hpp>
9#include <nirtcpp/core/engine/aabbox3d.hpp>
10
11namespace nirt
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 override { return EPET_BOX; }
29};
30
31} // end namespace scene
32} // end namespace nirt
33
34#endif
A particle emitter which emits particles from a box shaped space.
Definition IParticleBoxEmitter.hpp:18
virtual void setBox(const core::aabbox3df &box)=0
Set the box shape.
virtual const core::aabbox3df & getBox() const =0
Get the box shape set.
virtual E_PARTICLE_EMITTER_TYPE getType() const override
Get emitter type.
Definition IParticleBoxEmitter.hpp:28
A particle emitter for using with particle systems.
Definition IParticleEmitter.hpp:46
E_PARTICLE_EMITTER_TYPE
Types of built in particle emitters.
Definition IParticleEmitter.hpp:18
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print