Navigation
API > API/Editor > API/Editor/UnrealEd
Tool manager that focuses on tools which the behavior of a certain widget (Ex: Design / node panels) We only provide an interface where the tool tool needs extra-arg info (Ex: paint geometry) to perform it's specialized behavior.
In all other cases (Tick, FocusLost, etc), the default editor mode tool behavior is used and sufficient.
| Name | FWidgetModeManager |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/WidgetModeManager.h |
| Include Path | #include "WidgetModeManager.h" |
Syntax
class FWidgetModeManager : public FEditorModeTools
Inheritance Hierarchy
- FGCObject → FEditorModeTools → FWidgetModeManager
- FEditorUndoClient → FEditorModeTools → FWidgetModeManager
- FSharedFromThisBase → TSharedFromThis → FEditorModeTools → FWidgetModeManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWidgetModeManager() |
WidgetModeManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OwningToolkit | TWeakPtr< IToolkit > | Toolkit owning the widget of interest | WidgetModeManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< SWidget > GetManagedWidget() |
Not done in constructor as managed widget typically will not exist during mode construction for editors | WidgetModeManager.h | |
virtual bool OnDragDetected
(
const FGeometry& MyGeometry, |
WidgetModeManager.h | ||
virtual bool OnKeyChar
(
const FGeometry& MyGeometry, |
WidgetModeManager.h | ||
| WidgetModeManager.h | |||
| WidgetModeManager.h | |||
virtual bool OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
WidgetModeManager.h | ||
virtual bool OnMouseButtonDown
(
const FGeometry& MyGeometry, |
WidgetModeManager.h | ||
virtual bool OnMouseButtonUp
(
const FGeometry& MyGeometry, |
WidgetModeManager.h | ||
virtual void OnMouseCaptureLost
(
const FCaptureLostEvent& CaptureLostEvent |
WidgetModeManager.h | ||
virtual bool OnMouseMove
(
const FGeometry& MyGeometry, |
WidgetModeManager.h | ||
virtual bool OnMouseWheel
(
const FGeometry& MyGeometry, |
WidgetModeManager.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
WidgetModeManager.h | ||
virtual void SetManagedWidget
(
TSharedPtr< SWidget > InManagedWidget |
Not done in constructor as managed widget typically will not exist during mode construction for editors | WidgetModeManager.h |