EditorTerrainWorldRendererComponent.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/TerrainWorldRendererComponent.h>
  10. #include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
  11. #include <LmbrCentral/Component/EditorWrappedComponentBase.h>
  12. namespace Terrain
  13. {
  14. class EditorTerrainWorldRendererComponent
  15. : public LmbrCentral::EditorWrappedComponentBase<TerrainWorldRendererComponent, TerrainWorldRendererConfig>
  16. {
  17. public:
  18. using BaseClassType = LmbrCentral::EditorWrappedComponentBase<TerrainWorldRendererComponent, TerrainWorldRendererConfig>;
  19. AZ_EDITOR_COMPONENT(EditorTerrainWorldRendererComponent, "{7BEFF763-89A6-4EDA-B199-B049A8E757AF}", 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. }