ESceneNodeUpdateAbs.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // This file is part of the "Irrlicht Engine".
  2. // For conditions of distribution and use, see copyright notice in irrlicht.h
  3. #ifndef IRR_E_SCENE_NODE_UPDATE_ABS_H_INCLUDED
  4. #define IRR_E_SCENE_NODE_UPDATE_ABS_H_INCLUDED
  5. namespace irr
  6. {
  7. namespace scene
  8. {
  9. //! Options how ISceneNode::updateAbsolutePosition calculates the AbsoluteTransformation
  10. enum ESCENE_NODE_UPDATE_ABS
  11. {
  12. //! Node and parent transformation matrices are multiplied (default)
  13. ESNUA_TRANSFORM_MATRIX,
  14. //! Only transform the position of the node transformation matrix
  15. //! by the parent transformation matrix.
  16. //! Parent will not affect the rotation/scale of the node transformation.
  17. ESNUA_TRANSFORM_POSITION,
  18. //! Use the relative matrix as absolute transformation matrix
  19. //! Parent node transformation is ignored just like when the parent is set to 0
  20. ESNUA_RELATIVE
  21. };
  22. //! Names for culling type
  23. const c8* const SceneNodeUpdateAbsNames[] =
  24. {
  25. "matrix",
  26. "pos",
  27. "relative",
  28. 0
  29. };
  30. } // end namespace scene
  31. } // end namespace irr
  32. #endif