Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets > API/Runtime/SlateCore/Widgets/SWidget
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
FGeometry FindChildGeometry
(
const FGeometry & MyGeometry,
TSharedRef < SWidget > WidgetToFind
) const
Remarks
Find the geometry of a descendant widget. This method assumes that WidgetToFind is a descendant of this widget. the geometry of WidgetToFind.
Parameters
| Name | Description |
|---|---|
| MyGeometry | The geometry of this widget. |
| WidgetToFind | The widget whose geometry we wish to discover. |