Files
UnrealEngineUWP/Engine/Source/Editor/MeshPaint/Private/MeshPainterCommands.cpp
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

36 lines
2.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MeshPainterCommands.h"
#define LOCTEXT_NAMESPACE "MeshPainterCommands"
FMeshPainterCommands::FMeshPainterCommands()
: TCommands<FMeshPainterCommands>(
"MeshPainter",
NSLOCTEXT("Contexts", "MeshPainter", "Mesh Painter"),
NAME_None,
FEditorStyle::GetStyleSetName())
{
}
void FMeshPainterCommands::RegisterCommands()
{
UI_COMMAND(IncreaseBrushRadius, "Increase Brush Radius", "Press this key to increase brush radius by a percentage of its current size.", EUserInterfaceActionType::Button, FInputChord(EKeys::RightBracket));
Commands.Add(IncreaseBrushRadius);
UI_COMMAND(DecreaseBrushRadius, "Decrease Brush Size", "Press this key to decrease brush radius by a percentage of its current size.", EUserInterfaceActionType::Button, FInputChord(EKeys::LeftBracket));
Commands.Add(DecreaseBrushRadius);
UI_COMMAND(IncreaseBrushStrength, "Increase Brush Strength", "Press this key to increase brush strength by a fixed increment.", EUserInterfaceActionType::Button, FInputChord(EModifierKey::Control, EKeys::RightBracket));
Commands.Add(IncreaseBrushStrength);
UI_COMMAND(DecreaseBrushStrength, "Decrease Brush Strength", "Press this key to decrease brush strength by a fixed increment.", EUserInterfaceActionType::Button, FInputChord(EModifierKey::Control, EKeys::LeftBracket));
Commands.Add(DecreaseBrushStrength);
UI_COMMAND(IncreaseBrushFalloff, "Increase Brush Falloff", "Press this key to increase brush falloff by a fixed increment.", EUserInterfaceActionType::Button, FInputChord(FInputChord(EModifierKey::Control | EModifierKey::Shift, EKeys::RightBracket)));
Commands.Add(IncreaseBrushFalloff);
UI_COMMAND(DecreaseBrushFalloff, "Decrease Brush Falloff", "Press this key to decrease brush falloff by a fixed increment.", EUserInterfaceActionType::Button, FInputChord(FInputChord(EModifierKey::Control | EModifierKey::Shift, EKeys::LeftBracket)));
Commands.Add(DecreaseBrushFalloff);
}
#undef LOCTEXT_NAMESPACE