Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout > API/Runtime/SlateCore/Layout/FGeometry > API/Runtime/SlateCore/Layout/FGeometry/MakeChild
Deprecated * Use FGeometry MakeChild(const FVector2f& InLocalSize, const FSlateLayoutTransform& InLayoutTransform) instead.
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include | #include "Layout/Geometry.h" |
FGeometry MakeChild
&40;
const FVector2D & ChildOffset,
const FVector2D & InLocalSize,
float ChildScale
&41; const
Remarks
!!! DEPRECATED FUNCTION !!! Use MakeChild taking a layout transform instead! Create a child geometry relative to this one with a given local space size and layout transform given by a scale+offset. The Render Transform is identity. The new child geometry.
Parameters
| Name | Description |
|---|---|
| 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. |