Navigation
API > API/Editor > API/Editor/UMGEditor
Inheritance Hierarchy
- TSharedFromThis
- FWidgetTemplate
- FWidgetTemplateClass
- FWidgetTemplateBlueprintClass
- FWidgetTemplateImageClass
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/WidgetTemplate.h |
| Include | #include "WidgetTemplate.h" |
Syntax
class FWidgetTemplate : public TSharedFromThis< FWidgetTemplate >
Remarks
The widget template represents a widget or a set of widgets to create and spawn into the widget tree. More complicated defaults could be created by deriving from this class and registering new templates with the module.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FText | Name | The name of the widget template. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UWidget * | Create
(
UWidgetTree* Tree |
Constructs the widget template. | |
| FText | GetCategory () |
The category this template fits into. | |
| void | GetFilterStrings
(
TArray< FString >& OutStrings |
||
| const FSlateBrush * | GetIcon () |
Gets the icon to display for this widget template. | |
| TSharedRef< IToolTip > | GetToolTip () |
Gets tooltip widget for this widget template. | |
| FReply | The the action to perform when the template item is double clicked |