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 <SurfaceData/SurfaceDataMeshComponent.h>
|
|
#include <LmbrCentral/Component/EditorWrappedComponentBase.h>
|
|
|
|
namespace SurfaceData
|
|
{
|
|
class EditorSurfaceDataMeshComponent
|
|
: public LmbrCentral::EditorWrappedComponentBase<SurfaceDataMeshComponent, SurfaceDataMeshConfig>
|
|
{
|
|
public:
|
|
using BaseClassType = LmbrCentral::EditorWrappedComponentBase<SurfaceDataMeshComponent, SurfaceDataMeshConfig>;
|
|
AZ_EDITOR_COMPONENT(EditorSurfaceDataMeshComponent, "{4D73E979-5463-4B75-AE46-70B1E52CBF43}", BaseClassType);
|
|
static void Reflect(AZ::ReflectContext* context);
|
|
|
|
static constexpr const char* const s_categoryName = "Surface Data";
|
|
static constexpr const char* const s_componentName = "Mesh Surface Tag Emitter";
|
|
static constexpr const char* const s_componentDescription = "Enables a static mesh 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/";
|
|
};
|
|
}
|