EditorTerrainLayerSpawnerComponent.h 1.5 KB

123456789101112131415161718192021222324252627282930313233
  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/TerrainLayerSpawnerComponent.h>
  10. #include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
  11. #include <LmbrCentral/Component/EditorWrappedComponentBase.h>
  12. namespace Terrain
  13. {
  14. class EditorTerrainLayerSpawnerComponent
  15. : public LmbrCentral::EditorWrappedComponentBase<TerrainLayerSpawnerComponent, TerrainLayerSpawnerConfig>
  16. {
  17. public:
  18. using BaseClassType = LmbrCentral::EditorWrappedComponentBase<TerrainLayerSpawnerComponent, TerrainLayerSpawnerConfig>;
  19. AZ_EDITOR_COMPONENT(EditorTerrainLayerSpawnerComponent, "{9403FC94-FA38-4387-BEFD-A728C7D850C1}", BaseClassType);
  20. static void Reflect(AZ::ReflectContext* context);
  21. static constexpr const char* const s_categoryName = "Terrain";
  22. static constexpr const char* const s_componentName = "Terrain Layer Spawner";
  23. static constexpr const char* const s_componentDescription = "Defines a terrain region for use by the terrain system";
  24. static constexpr const char* const s_icon = "Editor/Icons/Components/TerrainLayerSpawner.svg";
  25. static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainLayerSpawner.svg";
  26. static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/terrain/layer_spawner/";
  27. };
  28. }