Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Description
Find the geometry of a descendant widget. This method assumes that WidgetToFind is a descendant of this widget.
| Name | FindChildGeometry |
| 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 |
FGeometry FindChildGeometry
(
const FGeometry & MyGeometry,
TSharedRef < SWidget > WidgetToFind
) const
the geometry of WidgetToFind.
Parameters
| Name | Remarks |
|---|---|
| MyGeometry | The geometry of this widget. |
| WidgetToFind | The widget whose geometry we wish to discover. |