SWidget::FindChildGeometry

Find the geometry of a descendant widget.

Windows
MacOS
Linux

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

Syntax

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.

Returns

the geometry of WidgetToFind.

Parameters

Parameter

Description

MyGeometry

The geometry of this widget.

WidgetToFind

The widget whose geometry we wish to discover.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss