91ca986e2a
* First pass of non-working changes to Terrain Macro Material Component. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Reworked Terrain Macro Material to use properties instead of a material. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Fixed comments. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * PR feedback - disable attributes when no normal map selected Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Fix linux compile error - unused variables. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
24 lines
884 B
C++
24 lines
884 B
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
|
|
*
|
|
*/
|
|
|
|
#include <TerrainRenderer/EditorComponents/EditorTerrainMacroMaterialComponent.h>
|
|
#include <AzCore/Serialization/SerializeContext.h>
|
|
#include <AzCore/Serialization/EditContext.h>
|
|
#include <AzToolsFramework/AssetBrowser/Entries/AssetBrowserEntry.h>
|
|
|
|
namespace Terrain
|
|
{
|
|
void EditorTerrainMacroMaterialComponent::Reflect(AZ::ReflectContext* context)
|
|
{
|
|
BaseClassType::ReflectSubClass<EditorTerrainMacroMaterialComponent, BaseClassType>(
|
|
context, 1,
|
|
&LmbrCentral::EditorWrappedComponentBaseVersionConverter<
|
|
typename BaseClassType::WrappedComponentType, typename BaseClassType::WrappedConfigType, 1>);
|
|
}
|
|
}
|