FWidgetReference

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.

Windows
MacOS
Linux

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

Name Description

Public variable

friend

 

FWidgetBlueprintEditor

Constructors

Name Description

Public function

FWidgetReference()

Functions

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FWidgetReference& Other
)

Checks if widget reference is the different from another widget reference, based on the template pointers.

Public function Const

bool

 

operator==

(
    const FWidgetReference& Other
)

Checks if widget reference is the same as another widget reference, based on the template pointers.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss