Navigation
API > API/Plugins > API/Plugins/WidgetEditorToolPalette > API/Plugins/WidgetEditorToolPalette/DefaultTools
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- URectangleSelectTool
References
| Module | WidgetEditorToolPalette |
| Header | /Engine/Plugins/Experimental/WidgetEditorToolPalette/Source/WidgetEditorToolPalette/Public/DefaultTools/RectangleSelectTool.h |
| Include | #include "DefaultTools/RectangleSelectTool.h" |
Syntax
UCLASS&40;&41;
class URectangleSelectTool :
public UInteractiveTool,
public IWidgetBaseBehavior
Remarks
URectangleSelectTool is a simple marque widget select tool.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< class FWidgetBlueprintEditor > | OwningToolkit | : DarenC - Find a good parent class or interface for these (as base class) | |
| TWeakPtr< class SDesignerView > | OwningWidget | ||
| FVector2D | PrevSelectionEndPoint | Cached last end point to optimize comparisons | |
| TObjectPtr< URectangleSelectProperties > | Properties | Properties of the tool are stored here |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | SetOwningToolkit
(
TSharedPtr< class IToolkit > InOwningToolkit |
||
| void | SetOwningWidget
(
TSharedPtr< class SWidget > InOwningWidget |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |
Overridden from IWidgetBaseBehavior
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
||
| bool | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
||
| bool | OnMouseMove
(
const FGeometry& MyGeometry, |
||
| int32 | OnPaint
(
const FPaintArgs& Args, |