| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h |
Include |
#include "Blueprint/WidgetTree.h" |
class UWidgetTree : public UObject
The widget tree manages the collection of widgets in a blueprint widget.
Name | Description | ||
---|---|---|---|
|
AllWidgets |
||
|
UWidget * |
RootWidget |
The root widget of the tree |
Name | Description | |
---|---|---|
|
UWidgetTree ( |
Name | Description | ||
---|---|---|---|
|
WidgetT *... |
ConstructWidget ( |
Constructs the widget, and adds it to the tree. |
|
FindChildIndex ( |
Determines the child index of the given ParentWidget that the given ChildWidget ultimately occupies, accounting for nesting |
|
|
UWidget *... |
FindWidget ( |
Finds the widget in the tree by name. |
|
UWidget *... |
FindWidget ( |
Finds a widget in the tree using the native widget as the key. |
|
WidgetT *... |
FindWidget ( |
Finds the widget in the tree by name and casts the return to the desired type. |
|
UWidget *... |
FindWidgetChild ( |
Searches recursively through the children of the given ParentWidget to find a child widget of the given name. |
|
UPanelWidget... |
FindWidgetParent |
Gets the parent widget of a given widget, and potentially the child index. |
|
ForEachWidget ( |
Iterates through all widgets including widgets contained in named slots, other than investigating named slots, this code does not dive into foreign WidgetTrees, as would exist inside another user widget. |
|
|
ForEachWidgetAndDescendants ( |
Iterates through all widgets including widgets contained in named slots, other than investigating named slots. |
|
|
ForWidgetAndChildren ( |
Iterates through all child widgets including widgets contained in named slots, other than investigating named slots, this code does not dive into foreign WidgetTrees, as would exist inside another user widget. |
|
|
GetAllWidgets |
Gathers all the widgets in the tree recursively |
|
|
GetChildWidgets |
Gathers descendant child widgets of a parent widget. |
|
|
UWorld * |
GetWorld() |
Begin UObject. |
|
RemoveWidget ( |
Removes the widget from the hierarchy and all sub widgets. |
|
|
TryMoveWidgetToNewTree ( |
Attempts to move a constructed Widget to another tree. Returns true on a successful move. |
Name | Description | ||
---|---|---|---|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PreSave ( |
Presave function. |