DecalNode.h 607 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright (C) 2009-2021, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <AnKi/Scene/SceneNode.h>
  7. namespace anki
  8. {
  9. /// @addtogroup scene
  10. /// @{
  11. /// Node that has a decal component.
  12. class DecalNode : public SceneNode
  13. {
  14. public:
  15. DecalNode(SceneGraph* scene, CString name);
  16. ~DecalNode();
  17. private:
  18. class MoveFeedbackComponent;
  19. class ShapeFeedbackComponent;
  20. void onMove(MoveComponent& movec);
  21. void onDecalUpdated(DecalComponent& decalc);
  22. };
  23. /// @}
  24. } // end namespace anki