Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/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 void ForWidgetAndChildren
&40;
UWidget &42; Widget,
TFunctionRef< void(UWidget &42;)> Predicate
&41;
Remarks
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.