Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Blueprint > UWidgetBlueprintLibrary
References
Module | UMG |
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
&40;
UObject &42; WorldContextObject,
TArray< UUserWidget &42; > & FoundWidgets,
TSubclassOf< UUserWidget > WidgetClass,
bool TopLevelOnly
&41;
Remarks
Find all widgets of a certain class.
Parameters
Name | 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. |