ESceneNodeTypes.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. #pragma once
  5. #include "irrTypes.h"
  6. namespace irr
  7. {
  8. namespace scene
  9. {
  10. //! An enumeration for all types of built-in scene nodes
  11. /** A scene node type is represented by a four character code
  12. such as 'cube' or 'mesh' instead of simple numbers, to avoid
  13. name clashes with external scene nodes.*/
  14. enum ESCENE_NODE_TYPE
  15. {
  16. //! of type CSceneManager (note that ISceneManager is not(!) an ISceneNode)
  17. ESNT_SCENE_MANAGER = MAKE_IRR_ID('s', 'm', 'n', 'g'),
  18. //! Mesh Scene Node
  19. ESNT_MESH = MAKE_IRR_ID('m', 'e', 's', 'h'),
  20. //! Empty Scene Node
  21. ESNT_EMPTY = MAKE_IRR_ID('e', 'm', 't', 'y'),
  22. //! Dummy Transformation Scene Node
  23. ESNT_DUMMY_TRANSFORMATION = MAKE_IRR_ID('d', 'm', 'm', 'y'),
  24. //! Camera Scene Node
  25. ESNT_CAMERA = MAKE_IRR_ID('c', 'a', 'm', '_'),
  26. //! Billboard Scene Node
  27. ESNT_BILLBOARD = MAKE_IRR_ID('b', 'i', 'l', 'l'),
  28. //! Animated Mesh Scene Node
  29. ESNT_ANIMATED_MESH = MAKE_IRR_ID('a', 'm', 's', 'h'),
  30. //! Unknown scene node
  31. ESNT_UNKNOWN = MAKE_IRR_ID('u', 'n', 'k', 'n'),
  32. //! Will match with any scene node when checking types
  33. ESNT_ANY = MAKE_IRR_ID('a', 'n', 'y', '_')
  34. };
  35. } // end namespace scene
  36. } // end namespace irr