Files
UnrealEngineUWP/Engine/Source/Editor/LandscapeEditor/Private/LandscapeEditorCommands.h
Lauren Barnes 6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00

106 lines
3.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Framework/Commands/Commands.h"
#include "Styling/AppStyle.h"
/**
* Unreal landscape editor actions
*/
class FLandscapeEditorCommands : public TCommands<FLandscapeEditorCommands>
{
public:
FLandscapeEditorCommands();
/**
* Initialize commands
*/
virtual void RegisterCommands() override;
public:
static FName LandscapeContext;
// Mode Switch
TSharedPtr<FUICommandInfo> ManageMode;
TSharedPtr<FUICommandInfo> SculptMode;
TSharedPtr<FUICommandInfo> PaintMode;
// Tools
TSharedPtr<FUICommandInfo> NewLandscape;
TSharedPtr<FUICommandInfo> ResizeLandscape;
TSharedPtr<FUICommandInfo> ImportExportTool;
TSharedPtr<FUICommandInfo> SculptTool;
TSharedPtr<FUICommandInfo> EraseTool;
TSharedPtr<FUICommandInfo> PaintTool;
TSharedPtr<FUICommandInfo> SmoothTool;
TSharedPtr<FUICommandInfo> FlattenTool;
TSharedPtr<FUICommandInfo> RampTool;
TSharedPtr<FUICommandInfo> ErosionTool;
TSharedPtr<FUICommandInfo> HydroErosionTool;
TSharedPtr<FUICommandInfo> NoiseTool;
TSharedPtr<FUICommandInfo> RetopologizeTool;
TSharedPtr<FUICommandInfo> VisibilityTool;
TSharedPtr<FUICommandInfo> BlueprintBrushTool;
TSharedPtr<FUICommandInfo> SelectComponentTool;
TSharedPtr<FUICommandInfo> AddComponentTool;
TSharedPtr<FUICommandInfo> DeleteComponentTool;
TSharedPtr<FUICommandInfo> MoveToLevelTool;
TSharedPtr<FUICommandInfo> RegionSelectTool;
TSharedPtr<FUICommandInfo> RegionCopyPasteTool;
TSharedPtr<FUICommandInfo> MirrorTool;
TSharedPtr<FUICommandInfo> SplineTool;
// Brushes
TSharedPtr<FUICommandInfo> CircleBrush;
TSharedPtr<FUICommandInfo> AlphaBrush;
TSharedPtr<FUICommandInfo> AlphaBrush_Pattern;
TSharedPtr<FUICommandInfo> ComponentBrush;
TSharedPtr<FUICommandInfo> GizmoBrush;
TSharedPtr<FUICommandInfo> CircleBrush_Smooth;
TSharedPtr<FUICommandInfo> CircleBrush_Linear;
TSharedPtr<FUICommandInfo> CircleBrush_Spherical;
TSharedPtr<FUICommandInfo> CircleBrush_Tip;
TSharedPtr<FUICommandInfo> ViewModeNormal;
TSharedPtr<FUICommandInfo> ViewModeLOD;
TSharedPtr<FUICommandInfo> ViewModeLayerDensity;
TSharedPtr<FUICommandInfo> ViewModeLayerDebug;
TSharedPtr<FUICommandInfo> ViewModeWireframeOnTop;
TSharedPtr<FUICommandInfo> ViewModeLayerUsage;
TSharedPtr<FUICommandInfo> ViewModeLayerContribution;
// Adjusting brushes
TSharedPtr<FUICommandInfo> IncreaseBrushSize;
TSharedPtr<FUICommandInfo> DecreaseBrushSize;
TSharedPtr<FUICommandInfo> IncreaseBrushFalloff;
TSharedPtr<FUICommandInfo> DecreaseBrushFalloff;
TSharedPtr<FUICommandInfo> IncreaseBrushStrength;
TSharedPtr<FUICommandInfo> DecreaseBrushStrength;
TSharedPtr<FUICommandInfo> IncreaseAlphaBrushRotation;
TSharedPtr<FUICommandInfo> DecreaseAlphaBrushRotation;
TSharedPtr<FUICommandInfo> DragBrushSize;
TSharedPtr<FUICommandInfo> DragBrushFalloff;
TSharedPtr<FUICommandInfo> DragBrushStrength;
// Map
TMap<FName, TSharedPtr<FUICommandInfo>> NameToCommandMap;
};
///**
// * Implementation of various level editor action callback functions
// */
//class FLevelEditorActionCallbacks
//{
//public:
//};