EditorAreaDebugComponent.h 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/Component/TickBus.h>
  10. #include <Vegetation/Editor/EditorVegetationComponentBase.h>
  11. #include <Debugger/AreaDebugComponent.h>
  12. namespace Vegetation
  13. {
  14. class EditorAreaDebugComponent
  15. : public EditorVegetationComponentBase<AreaDebugComponent, AreaDebugConfig>
  16. {
  17. public:
  18. using BaseClassType = EditorVegetationComponentBase<AreaDebugComponent, AreaDebugConfig>;
  19. AZ_EDITOR_COMPONENT(EditorAreaDebugComponent, "{6B4591BA-6B8F-43D8-A311-22E83C7E8CB4}", BaseClassType);
  20. static void Reflect(AZ::ReflectContext* context);
  21. static constexpr const char* const s_categoryName = "Vegetation";
  22. static constexpr const char* const s_componentName = "Vegetation Layer Debugger";
  23. static constexpr const char* const s_componentDescription = "Enables debug visualizations for vegetation layers";
  24. static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg";
  25. static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg";
  26. static constexpr const char* const s_helpUrl = "https://www.o3de.org/docs/user-guide/components/reference/vegetation/vegetation-layer-debugger/";
  27. };
  28. }