Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- FGCObject
- FEditorUndoClient
- TSharedFromThis
- FEditorModeTools
- FWidgetModeManager
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/WidgetModeManager.h |
| Include | #include "WidgetModeManager.h" |
Syntax
class FWidgetModeManager : public FEditorModeTools
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| UWidgetToolsContext * | CachedWidgetToolContext | ||
| TWeakPtr< SWidget > | ManagedWidget | Managed widget is forwarded to tool builders / tools to interact with the widget they are operating on | |
| TWeakPtr< IToolkit > | OwningToolkit | Toolkit owning the widget of interest |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SWidget > | Not done in constructor as managed widget typically will not exist during mode construction for editors | ||
| bool | OnDragDetected
(
const FGeometry& MyGeometry, |
||
| bool | OnKeyChar
(
const FGeometry& MyGeometry, |
||
| bool | |||
| bool | |||
| bool | OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
||
| bool | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
||
| bool | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
||
| void | OnMouseCaptureLost
(
const FCaptureLostEvent& CaptureLostEvent |
||
| bool | OnMouseMove
(
const FGeometry& MyGeometry, |
||
| bool | OnMouseWheel
(
const FGeometry& MyGeometry, |
||
| int32 | OnPaint
(
const FPaintArgs& Args, |
||
| void | SetManagedWidget
(
TSharedPtr< SWidget > InManagedWidget |
Not done in constructor as managed widget typically will not exist during mode construction for editors |