EditorTerrainWorldComponent.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/TerrainWorldComponent.h>
  10. #include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
  11. #include <LmbrCentral/Component/EditorWrappedComponentBase.h>
  12. namespace Terrain
  13. {
  14. class EditorTerrainWorldComponent
  15. : public LmbrCentral::EditorWrappedComponentBase<TerrainWorldComponent, TerrainWorldConfig>
  16. {
  17. public:
  18. using BaseClassType = LmbrCentral::EditorWrappedComponentBase<TerrainWorldComponent, TerrainWorldConfig>;
  19. AZ_EDITOR_COMPONENT(EditorTerrainWorldComponent, "{43D02ADC-111F-4584-B590-FF6DC9FC912C}", 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. }