Navigation
API > API/Editor > API/Editor/UnrealEd
UModeManagerInteractiveToolsContext extends UEditorInteractiveToolsContext with various functions for handling device (mouse) input. These functions are currently called by the EdMode Manager (FEditorModeTools).
| Name | UModeManagerInteractiveToolsContext |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Tools/EdModeInteractiveToolsContext.h |
| Include Path | #include "Tools/EdModeInteractiveToolsContext.h" |
Syntax
UCLASS (Transient)
class UModeManagerInteractiveToolsContext : public UEditorInteractiveToolsContext
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveToolsContext → UEditorInteractiveToolsContext → UModeManagerInteractiveToolsContext
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsTrackingMouse | bool | Tools/EdModeInteractiveToolsContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CapturedMouseMove
(
FEditorViewportClient* InViewportClient, |
Tools/EdModeInteractiveToolsContext.h | ||
| Create and initialize a new EdMode-level ToolsContext derived from the ModeManager ToolsContext. | Tools/EdModeInteractiveToolsContext.h | ||
bool EndTracking
(
FEditorViewportClient* InViewportClient, |
Tools/EdModeInteractiveToolsContext.h | ||
bool GetCursor
(
EMouseCursor::Type& OutCursor |
Tools/EdModeInteractiveToolsContext.h | ||
bool InputKey
(
FEditorViewportClient* ViewportClient, |
Input handling, these functions forward ViewportClient events to the UInputRouter | Tools/EdModeInteractiveToolsContext.h | |
bool LostFocus
(
FEditorViewportClient* InViewportClient, |
Tools/EdModeInteractiveToolsContext.h | ||
bool MouseEnter
(
FEditorViewportClient* ViewportClient, |
Tools/EdModeInteractiveToolsContext.h | ||
bool MouseLeave
(
FEditorViewportClient* ViewportClient, |
Tools/EdModeInteractiveToolsContext.h | ||
bool MouseMove
(
FEditorViewportClient* ViewportClient, |
Tools/EdModeInteractiveToolsContext.h | ||
bool OnChildEdModeActivated
(
UEdModeInteractiveToolsContext* ChildToolsContext |
Call to add a child EdMode ToolsContext created using the above function | Tools/EdModeInteractiveToolsContext.h | |
bool OnChildEdModeDeactivated
(
UEdModeInteractiveToolsContext* ChildToolsContext |
Call to release a child EdMode ToolsContext created using the above function | Tools/EdModeInteractiveToolsContext.h | |
void SetDragToolsEnabled
(
bool bInEnabled |
Mark Editor Modes Tools for Drag Tools Support | Tools/EdModeInteractiveToolsContext.h | |
bool StartTracking
(
FEditorViewportClient* InViewportClient, |
Tools/EdModeInteractiveToolsContext.h | ||
void UpdateStateWithoutRoutingInputKey
(
FEditorViewportClient* ViewportClient, |
This updates internal state like InputKey, but doesn't route the results to the input router. | Tools/EdModeInteractiveToolsContext.h | |
bool UsesDragTools() |
Are Drag Tools supported? e.g. Marquee Select Enable/Disable support by using SetDragToolsEnabled(...) | Tools/EdModeInteractiveToolsContext.h |
Overridden from UEditorInteractiveToolsContext
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DrawHUD
(
FViewportClient* ViewportClient, |
Tools/EdModeInteractiveToolsContext.h | ||
virtual FRay GetLastWorldRay() |
Tools/EdModeInteractiveToolsContext.h | ||
virtual bool ProcessEditDelete() |
Tools/EdModeInteractiveToolsContext.h | ||
virtual void Render
(
const FSceneView* View, |
Tools/EdModeInteractiveToolsContext.h | ||
virtual void Tick
(
FEditorViewportClient* ViewportClient, |
UEditorInteractiveToolsContext API implementations that also forward calls to any child EdMode ToolsContexts | Tools/EdModeInteractiveToolsContext.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool BypassAltModifier() |
Is this Interactive Tools Context skipping Alt processing? | Tools/EdModeInteractiveToolsContext.h | |
void OnEditorModeChanged
(
const FEditorModeID& InModeID, |
Responding to Mode Changes in order to deactivate/activate Drag Tools accordingly | Tools/EdModeInteractiveToolsContext.h | |
void RegisterDragTools() |
Activating Drag Tools if current Mode Manager requires them | Tools/EdModeInteractiveToolsContext.h | |
void SetBypassAltModifier
(
bool bInBypassAltModifier |
These functions are declared protected to avoid having to deal with deprecation later on. | Tools/EdModeInteractiveToolsContext.h | |
void UnregisterDragTools() |
Deactivating Drag Tools | Tools/EdModeInteractiveToolsContext.h |
Overridden from UInteractiveToolsContext
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DeactivateAllActiveTools
(
EToolShutdownType ShutdownType |
Tools/EdModeInteractiveToolsContext.h | ||
virtual void Initialize
(
IToolsContextQueriesAPI* QueriesAPI, |
We hide these | Tools/EdModeInteractiveToolsContext.h | |
virtual void Shutdown() |
Tools/EdModeInteractiveToolsContext.h |