Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
Include |
#include "Blueprint/WidgetBlueprintLibrary.h" |
Source |
/Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
static void GetAllWidgetsOfClass
(
UObject * WorldContextObject,
TArray< UUserWidget * > & FoundWidgets,
TSubclassOf< UUserWidget > WidgetClass,
bool TopLevelOnly
)
Find all widgets of a certain class.
Parameter |
Description |
---|---|
FoundWidgets |
The widgets that were found matching the filter. |
WidgetClass |
The widget class to filter by. |
TopLevelOnly |
Only the widgets that are direct children of the viewport will be returned. |