Navigation
API > API/Editor > API/Editor/UMGEditor
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/WidgetReference.h |
| Include | #include "WidgetReference.h" |
Syntax
struct FWidgetReference
Remarks
The Widget reference is a useful way to hold onto the selection in a way that allows for up to date access to the current preview object. Because the designer could end up rebuilding the preview, it's best to hold onto an FWidgetReference.
Variables
| Type | Name | Description | |
|---|---|---|---|
| friend | FWidgetBlueprintEditor |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UWidget * | GetPreview () |
||
| TSharedPtr< SWidget > | |||
| UWidget * | GetTemplate () |
||
| TSharedPtr< FWidgetBlueprintEditor > | |||
| bool | IsValid () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FWidgetReference& Other |
Checks if widget reference is the different from another widget reference, based on the template pointers. | |
| bool | operator==
(
const FWidgetReference& Other |
Checks if widget reference is the same as another widget reference, based on the template pointers. |