IParticleBoxEmitter.h 849 B

12345678910111213141516171819202122232425262728293031323334353637
  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. #ifndef __I_PARTICLE_BOX_EMITTER_H_INCLUDED__
  5. #define __I_PARTICLE_BOX_EMITTER_H_INCLUDED__
  6. #include "IParticleEmitter.h"
  7. #include "aabbox3d.h"
  8. namespace irr
  9. {
  10. namespace scene
  11. {
  12. //! A particle emitter which emits particles from a box shaped space
  13. class IParticleBoxEmitter : public IParticleEmitter
  14. {
  15. public:
  16. //! Set the box shape
  17. virtual void setBox( const core::aabbox3df& box ) = 0;
  18. //! Get the box shape set
  19. virtual const core::aabbox3df& getBox() const = 0;
  20. //! Get emitter type
  21. virtual E_PARTICLE_EMITTER_TYPE getType() const _IRR_OVERRIDE_ { return EPET_BOX; }
  22. };
  23. } // end namespace scene
  24. } // end namespace irr
  25. #endif