Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorModeTools
Description
Notifies all active modes of keyboard input Notifies all active modes of keyboard input via a viewport client
| Name | InputKey |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h |
| Include Path | #include "EditorModeManager.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorModeManager.cpp |
bool InputKey
(
FEditorViewportClient * InViewportClient,
FViewport * Viewport,
FKey Key,
EInputEvent Event,
bool bRouteToToolsContext
)
Parameters
| Name | Remarks |
|---|---|
| bRouteToToolsContext | If true, routes to the tools context and its input router before routing to modes (and does not route to modes if tools context handles it). We currently need the ability to set this to false due to some behaviors being routed in different conditions to legacy modes compared to the input router (see its use in EditorViewportClient.cpp). |