Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainEdMode::

RouteKey

Editor only

What the viewport's key does in this mode: Ctrl+Z and Ctrl+Y first close an open brush stroke into its transaction (and are not consumed, so the undo or redo runs); a key of the active tool's action set runs that action.

Declaration

bool RouteKey(const FKey& Key, EInputEvent Event, EModifierKey::Type Modifiers);
Header
#include "Mode/OrreryTerrainEdMode.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Thread
Game thread, editor only. (the rule of UOrreryTerrainEdMode)

Parameters

NameTypeDefaultMeaning
Keyconst FKey&——
EventEInputEvent——
ModifiersEModifierKey::Type——

Returns

Whether the key was consumed.