FGeometry::MakeChild

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

Choose your operating system:

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.