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.
34 lines
1.5 KiB
C++
34 lines
1.5 KiB
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AzCore/Module/Module.h>
|
|
#include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
|
|
#include <AzToolsFramework/ToolsComponents/EditorVisibilityBus.h>
|
|
#include <Components/SurfaceDataShapeComponent.h>
|
|
#include <LmbrCentral/Component/EditorWrappedComponentBase.h>
|
|
|
|
namespace SurfaceData
|
|
{
|
|
class EditorSurfaceDataShapeComponent
|
|
: public LmbrCentral::EditorWrappedComponentBase<SurfaceDataShapeComponent, SurfaceDataShapeConfig>
|
|
{
|
|
public:
|
|
using BaseClassType = LmbrCentral::EditorWrappedComponentBase<SurfaceDataShapeComponent, SurfaceDataShapeConfig>;
|
|
AZ_EDITOR_COMPONENT(EditorSurfaceDataShapeComponent, "{A2E691AC-A027-4B90-A604-689E543BEA91}", BaseClassType);
|
|
static void Reflect(AZ::ReflectContext* context);
|
|
|
|
static constexpr const char* const s_categoryName = "Surface Data";
|
|
static constexpr const char* const s_componentName = "Shape Surface Tag Emitter";
|
|
static constexpr const char* const s_componentDescription = "Enables a shape to emit surface tags";
|
|
static constexpr const char* const s_icon = "Editor/Icons/Components/SurfaceData.svg";
|
|
static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/SurfaceData.png";
|
|
static constexpr const char* const s_helpUrl = "https://docs.o3de.org/docs/user-guide/components/reference/";
|
|
};
|
|
}
|