Navigation
API > API/Runtime > API/Runtime/UMG
Represent a Widget present in the Tree Widget of the UserWidget
| Name | FWidgetChild |
| Type | struct |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetChild.h |
| Include Path | #include "Blueprint/WidgetChild.h" |
Syntax
USTRUCT ()
struct FWidgetChild
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWidgetChild () |
Blueprint/WidgetChild.h | ||
FWidgetChild
(
const UUserWidget* Outer, |
Blueprint/WidgetChild.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| WidgetName | FName | This either the widget to focus, OR the name of the function to call. | Blueprint/WidgetChild.h |
|
| WidgetPtr | TWeakObjectPtr< UWidget > | Blueprint/WidgetChild.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetFName() |
Blueprint/WidgetChild.h | ||
UWidget * GetWidget() |
Blueprint/WidgetChild.h | ||
UWidget * Resolve
(
const UWidgetTree* WidgetTree |
Resolves the Widget ptr using it's name. | Blueprint/WidgetChild.h |