SceneComponentVirtuals.defs.h 1.0 KB

123456789101112131415161718192021
  1. // Copyright (C) 2009-2023, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #if !defined(ANKI_SCENE_COMPONENT_VIRTUAL_SEPERATOR)
  6. # define ANKI_SCENE_COMPONENT_VIRTUAL_SEPERATOR
  7. #endif
  8. ANKI_SCENE_COMPONENT_VIRTUAL(constructor, void (*)(SceneComponent& self, SceneNode& owner))
  9. ANKI_SCENE_COMPONENT_VIRTUAL_SEPERATOR
  10. ANKI_SCENE_COMPONENT_VIRTUAL(destructor, void (*)(SceneComponent& self))
  11. ANKI_SCENE_COMPONENT_VIRTUAL_SEPERATOR
  12. ANKI_SCENE_COMPONENT_VIRTUAL(onDestroy, void (*)(SceneComponent& self, SceneNode& owner))
  13. ANKI_SCENE_COMPONENT_VIRTUAL_SEPERATOR
  14. ANKI_SCENE_COMPONENT_VIRTUAL(update, Error (*)(SceneComponent& self, SceneComponentUpdateInfo& info, Bool& updated))
  15. ANKI_SCENE_COMPONENT_VIRTUAL_SEPERATOR
  16. ANKI_SCENE_COMPONENT_VIRTUAL(onOtherComponentRemovedOrAdded, void (*)(SceneComponent& self, SceneComponent* other, Bool added))
  17. #undef ANKI_SCENE_COMPONENT_VIRTUAL
  18. #undef ANKI_SCENE_COMPONENT_VIRTUAL_SEPERATOR