Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Blueprint > UWidgetTree
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h |
Include | #include "Blueprint/WidgetTree.h" |
Source | /Engine/Source/Runtime/UMG/Private/WidgetTree.cpp |
static UWidget &42; FindWidgetChild
&40;
UPanelWidget &42; ParentWidget,
FName ChildWidgetName,
int32 & OutChildIndex
&41;
Remarks
Searches recursively through the children of the given ParentWidget to find a child widget of the given name. If successful, also gets the index the child ultimately occupies within the starting ParentWidget (INDEX_NONE otherwise)