Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidgetTree
Description
Iterates through all widgets including widgets contained in named slots, other than investigating named slots. This includes foreign widget trees inside of other UserWidgets.
| Name | ForEachWidgetAndDescendants |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h |
| Include Path | #include "Blueprint/WidgetTree.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetTree.cpp |
void ForEachWidgetAndDescendants
(
TFunctionRef < void *)> Predicate
) const