Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout > API/Runtime/SlateCore/Layout/FGeometry > API/Runtime/SlateCore/Layout/FGeometry/MakeChild
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 |
FArrangedWidget MakeChild
&40;
const TSharedRef< SWidget > & ChildWidget,
const UE::Slate::FDeprecateVector2DParameter & ChildOffset,
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
float ChildScale
&41; const
Remarks
!!! DEPRECATED FUNCTION !!! Use MakeChild taking a layout transform instead! Create a child geometry+widget relative to this one with a given local space size and layout transform given by a scale+offset. The Geometry inherits the child widget's render transform. The new child geometry+widget.
Parameters
| Name | Description |
|---|---|
| ChildWidget | The child widget this geometry is being created for. |
| ChildOffset | Offset of the child relative to the parent. Scale+Offset effectively define the layout transform. |
| LocalSize | The size of the child geometry in local space. |
| ChildScale | Scale of the child relative to the parent. Scale+Offset effectively define the layout transform. |