FGeometry::MakeChild

Create a child geometry+widget relative to this one using the given LayoutGeometry.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h

Include

#include "Layout/Geometry.h"

Source

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Syntax

FArrangedWidget MakeChild
(
    const TSharedRef< SWidget > & ChildWidget,
    const FLayoutGeometry & LayoutGeometry
) const

Remarks

Create a child geometry+widget relative to this one using the given LayoutGeometry.

Returns

The new child geometry.

Parameters

Parameter

Description

ChildWidget

The child widget this geometry is being created for.

LayoutGeometry

Layout geometry of the child.

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