UWidgetTree::FindWidgetChild

Searches recursively through the children of the given ParentWidget to find a child widget of the given name.

Windows
MacOS
Linux

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

Syntax

static UWidget * FindWidgetChild
(
    UPanelWidget * ParentWidget,
    FName ChildWidgetName,
    int32 & OutChildIndex
)

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)

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