You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#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]
36 lines
2.0 KiB
C++
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,
|
|
FAppStyle::GetAppStyleSetName())
|
|
{
|
|
}
|
|
|
|
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
|
|
|