UWidgetTree::ForEachWidgetAndDescendants

Iterates through all widgets including widgets contained in named slots, other than investigating named slots.

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

void ForEachWidgetAndDescendants
(
    TFunctionRef< void *)> Predicate
) const

Remarks

Iterates through all widgets including widgets contained in named slots, other than investigating named slots. This includes foreign widget trees inside of other UserWidgets.

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