EditorTerrainWorldDebuggerComponent.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 <Components/TerrainWorldDebuggerComponent.h>
  10. #include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
  11. #include <LmbrCentral/Component/EditorWrappedComponentBase.h>
  12. namespace Terrain
  13. {
  14. class EditorTerrainWorldDebuggerComponent
  15. : public LmbrCentral::EditorWrappedComponentBase<TerrainWorldDebuggerComponent, TerrainWorldDebuggerConfig>
  16. {
  17. public:
  18. using BaseClassType = LmbrCentral::EditorWrappedComponentBase<TerrainWorldDebuggerComponent, TerrainWorldDebuggerConfig>;
  19. AZ_EDITOR_COMPONENT(EditorTerrainWorldDebuggerComponent, "{D09BA0B9-FB51-446B-BD7B-3C40743D2E39}", BaseClassType);
  20. static void Reflect(AZ::ReflectContext* context);
  21. //////////////////////////////////////////////////////////////////////////
  22. // AZ::Component interface implementation
  23. void Init() override;
  24. void Activate() override;
  25. AZ::u32 ConfigurationChanged() override;
  26. protected:
  27. using BaseClassType::m_configuration;
  28. using BaseClassType::m_component;
  29. using BaseClassType::m_visible;
  30. private:
  31. };
  32. }