Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Description
Find the geometry of a descendant widget. This method assumes that WidgetsToFind are a descendants of this widget. Note that not all widgets are guaranteed to be found; OutResult will contain null entries for missing widgets.
| Name | FindChildGeometries |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
bool FindChildGeometries
(
const FGeometry & MyGeometry,
const TSet< TSharedRef < SWidget > > & WidgetsToFind,
TMap < TSharedRef < SWidget >, FArrangedWidget > & OutResult
) const
True if all the WidgetGeometries were found. False otherwise.
Parameters
| Name | Remarks |
|---|---|
| MyGeometry | The geometry of this widget. |
| WidgetsToFind | The widgets whose geometries we wish to discover. |
| OutResult | A map of widget references to their respective geometries. |