IParticleBoxEmitter.h 843 B

1234567891011121314151617181920212223242526272829303132333435
  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 IRR_I_PARTICLE_BOX_EMITTER_H_INCLUDED
  5. #define IRR_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