Files
UnrealEngineUWP/Engine/Source/Editor/MeshPaint/Private/MeshPainterCommands.cpp
Chris Gagnon 930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00

36 lines
2.0 KiB
C++

// Copyright 1998-2019 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