ESceneNodeTypes.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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_E_SCENE_NODE_TYPES_H_INCLUDED
  5. #define IRR_E_SCENE_NODE_TYPES_H_INCLUDED
  6. #include "irrTypes.h"
  7. namespace irr
  8. {
  9. namespace scene
  10. {
  11. //! An enumeration for all types of built-in scene nodes
  12. /** A scene node type is represented by a four character code
  13. such as 'cube' or 'mesh' instead of simple numbers, to avoid
  14. name clashes with external scene nodes.*/
  15. enum ESCENE_NODE_TYPE
  16. {
  17. //! of type CSceneManager (note that ISceneManager is not(!) an ISceneNode)
  18. ESNT_SCENE_MANAGER = MAKE_IRR_ID('s','m','n','g'),
  19. //! simple cube scene node
  20. ESNT_CUBE = MAKE_IRR_ID('c','u','b','e'),
  21. //! Sphere scene node
  22. ESNT_SPHERE = MAKE_IRR_ID('s','p','h','r'),
  23. //! Text Scene Node
  24. ESNT_TEXT = MAKE_IRR_ID('t','e','x','t'),
  25. //! Billboard text scene node
  26. ESNT_BILLBOARD_TEXT = MAKE_IRR_ID('b','t','x','t'),
  27. //! Water Surface Scene Node
  28. ESNT_WATER_SURFACE = MAKE_IRR_ID('w','a','t','r'),
  29. //! Terrain Scene Node
  30. ESNT_TERRAIN = MAKE_IRR_ID('t','e','r','r'),
  31. //! Sky Box Scene Node
  32. ESNT_SKY_BOX = MAKE_IRR_ID('s','k','y','_'),
  33. //! Sky Dome Scene Node
  34. ESNT_SKY_DOME = MAKE_IRR_ID('s','k','y','d'),
  35. //! Shadow Volume Scene Node
  36. ESNT_SHADOW_VOLUME = MAKE_IRR_ID('s','h','d','w'),
  37. //! Octree Scene Node
  38. ESNT_OCTREE = MAKE_IRR_ID('o','c','t','r'),
  39. //! Mesh Scene Node
  40. ESNT_MESH = MAKE_IRR_ID('m','e','s','h'),
  41. //! Light Scene Node
  42. ESNT_LIGHT = MAKE_IRR_ID('l','g','h','t'),
  43. //! Empty Scene Node
  44. ESNT_EMPTY = MAKE_IRR_ID('e','m','t','y'),
  45. //! Dummy Transformation Scene Node
  46. ESNT_DUMMY_TRANSFORMATION = MAKE_IRR_ID('d','m','m','y'),
  47. //! Camera Scene Node
  48. ESNT_CAMERA = MAKE_IRR_ID('c','a','m','_'),
  49. //! Billboard Scene Node
  50. ESNT_BILLBOARD = MAKE_IRR_ID('b','i','l','l'),
  51. //! Animated Mesh Scene Node
  52. ESNT_ANIMATED_MESH = MAKE_IRR_ID('a','m','s','h'),
  53. //! Particle System Scene Node
  54. ESNT_PARTICLE_SYSTEM = MAKE_IRR_ID('p','t','c','l'),
  55. //! Quake3 Shader Scene Node
  56. ESNT_Q3SHADER_SCENE_NODE = MAKE_IRR_ID('q','3','s','h'),
  57. //! Quake3 Model Scene Node ( has tag to link to )
  58. ESNT_MD3_SCENE_NODE = MAKE_IRR_ID('m','d','3','_'),
  59. //! Volume Light Scene Node
  60. ESNT_VOLUME_LIGHT = MAKE_IRR_ID('v','o','l','l'),
  61. //! Maya Camera Scene Node
  62. /** Legacy, for loading version <= 1.4.x .irr files */
  63. ESNT_CAMERA_MAYA = MAKE_IRR_ID('c','a','m','M'),
  64. //! First Person Shooter Camera
  65. /** Legacy, for loading version <= 1.4.x .irr files */
  66. ESNT_CAMERA_FPS = MAKE_IRR_ID('c','a','m','F'),
  67. //! Unknown scene node
  68. ESNT_UNKNOWN = MAKE_IRR_ID('u','n','k','n'),
  69. //! Will match with any scene node when checking types
  70. ESNT_ANY = MAKE_IRR_ID('a','n','y','_')
  71. };
  72. } // end namespace scene
  73. } // end namespace irr
  74. #endif