Navigation
API > API/Editor > API/Editor/UMGEditor
Inheritance Hierarchy
- TSharedFromThis
- FDesignerExtension
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/DesignerExtension.h |
| Include | #include "DesignerExtension.h" |
Syntax
class FDesignerExtension : public TSharedFromThis< FDesignerExtension >
Remarks
The Designer extension allows developers to provide additional widgets and custom painting to the designer surface for specific widgets. Allowing for a more customized and specific editors for the different widgets.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< UWidgetBlueprint > | Blueprint | ||
| IUMGDesigner * | Designer | ||
| FName | ExtensionId | ||
| TArray< FWidgetReference > | SelectionCache |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginTransaction
(
const FText& SessionName |
||
| bool | CanExtendSelection
(
const TArray< FWidgetReference >& Selection |
Returns true if the designer extension can extend the current selection. | |
| void | |||
| void | ExtendSelection
(
const TArray< FWidgetReference >& Selection, |
Called every time a element the designer can extend is selected. | |
| FName | Gets the ID identifying this extension. | ||
| void | Initialize
(
IUMGDesigner* InDesigner, |
Initializes the designer extension, this is called the first time a designer extension is registered | |
| void | Paint
(
const TSet< FWidgetReference >& Selection, |
Called to paint the extension. | |
| void | PreviewContentChanged
(
TSharedRef< SWidget > NewContent |
Called every time the content of the designer changed. | |
| void | Called each frames to tick the extension. | ||
| void | Uninitialize () |
Uninitializes the designer extension, this is called when the designer is removed. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FDesignerExtension& Other |