Navigation
API > API/Editor > API/Editor/UMGEditor > API/Editor/UMGEditor/Templates
Inheritance Hierarchy
- TSharedFromThis
- FWidgetTemplate
- FWidgetTemplateClass
- FWidgetTemplateBlueprintClass
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/Templates/WidgetTemplateBlueprintClass.h |
| Include | #include "Templates/WidgetTemplateBlueprintClass.h" |
Syntax
class FWidgetTemplateBlueprintClass : public FWidgetTemplateClass
Remarks
A template for classes generated by UWidgetBlueprint assets Accounts for the possibility that a the blueprint may not be loaded when the palette is created
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsBlueprintGeneratedClass | True if this template is for a cooked BP generated class | |
| TWeakObjectPtr< UClass > | CachedParentClass | Parent Class of this widget template, may not be valid |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWidgetTemplateBlueprintClass
(
const FAssetData& InWidgetAssetData, |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| FWidgetTemplateBlueprintClass with bInIsBlueprintGeneratedClass is deprecated. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns true if the supplied class is supported by this template |
Overridden from FWidgetTemplate
| Type | Name | Description | |
|---|---|---|---|
| UWidget * | Create
(
UWidgetTree* Tree |
Creates an instance of the widget for the tree. | |
| FText | GetCategory () |
Gets the category for the widget | |
| const FSlateBrush * | GetIcon () |
The icon coming from the default object of the class | |
| TSharedRef< IToolTip > | GetToolTip () |
Gets the tooltip widget for this palette item. | |
| FReply | Opens the widget blueprint for edit |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FWidgetTemplateBlueprintClass with bInIsBlueprintGeneratedClass is deprecated. |