DecalNode.h 607 B

1234567891011121314151617181920212223242526272829303132
  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. /// @addtogroup scene
  9. /// @{
  10. /// Node that has a decal component.
  11. class DecalNode : public SceneNode
  12. {
  13. public:
  14. DecalNode(SceneGraph* scene, CString name);
  15. ~DecalNode();
  16. private:
  17. class MoveFeedbackComponent;
  18. class ShapeFeedbackComponent;
  19. void onMove(MoveComponent& movec);
  20. void onDecalUpdated(DecalComponent& decalc);
  21. };
  22. /// @}
  23. } // end namespace anki