You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainMacroMaterialC...

33 lines
1.5 KiB
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <TerrainRenderer/Components/TerrainMacroMaterialComponent.h>
#include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
#include <LmbrCentral/Component/EditorWrappedComponentBase.h>
namespace Terrain
{
class EditorTerrainMacroMaterialComponent
: public LmbrCentral::EditorWrappedComponentBase<TerrainMacroMaterialComponent, TerrainMacroMaterialConfig>
{
public:
using BaseClassType = LmbrCentral::EditorWrappedComponentBase<TerrainMacroMaterialComponent, TerrainMacroMaterialConfig>;
AZ_EDITOR_COMPONENT(EditorTerrainMacroMaterialComponent, "{24D87D5F-6845-4F1F-81DC-05B4CEBA3EF4}", BaseClassType);
static void Reflect(AZ::ReflectContext* context);
static constexpr const char* const s_categoryName = "Terrain";
static constexpr const char* const s_componentName = "Terrain Macro Material";
static constexpr const char* const s_componentDescription = "Provides a macro material for a region to the terrain renderer";
static constexpr const char* const s_icon = "Editor/Icons/Components/TerrainMacroMaterial.svg";
static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainMacroMaterial.svg";
static constexpr const char* const s_helpUrl = "";
};
}