Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FGeometry
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometry MakeChild
(
const UE::Slate::FDeprecateVector2DParameter& InLocalSize, |
Create a child geometry relative to this one with a given local space size, layout transform, and identity render transform. | Layout/Geometry.h | |
| Layout/Geometry.h | |||
FArrangedWidget MakeChild
(
const TSharedRef< SWidget >& ChildWidget, |
Create a child geometry+widget relative to this one using the given LayoutGeometry. | Layout/Geometry.h | |
FArrangedWidget MakeChild
(
const TSharedRef< SWidget >& ChildWidget, |
FGeometry Arranged Widget Inlined Functions. | Layout/Geometry.h | |
FGeometry MakeChild
(
const UE::Slate::FDeprecateVector2DParameter& InLocalSize, |
Create a child geometry relative to this one with a given local space size, layout transform, and render transform. | Layout/Geometry.h | |
FArrangedWidget MakeChild
(
const TSharedRef< SWidget >& ChildWidget, |
!!! 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. | Layout/Geometry.h |
MakeChild(const UE::Slate::FDeprecateVector2DParameter &, const FSlateLayoutTransform &)
Description
Create a child geometry relative to this one with a given local space size, layout transform, and identity render transform. For example, a widget with a 5x5 margin will create a geometry for it's child contents having a LayoutTransform of Translate(5,5) and a LocalSize 10 units smaller than it's own.
| Name | MakeChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
FGeometry MakeChild
(
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
const FSlateLayoutTransform & LayoutTransform
) const
The new child geometry.
Parameters
| Name | Remarks |
|---|---|
| LocalSize | The size of the child geometry in local space. |
| LayoutTransform | Layout transform of the new child relative to this Geometry. Goes from the child's layout space to the this widget's layout space. |
MakeChild(const FSlateRenderTransform &, const UE::Slate::FDeprecateVector2DParameter &)
| Name | MakeChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
FGeometry MakeChild
(
const FSlateRenderTransform & RenderTransform,
const UE::Slate::FDeprecateVector2DParameter & RenderTransformPivot
) const
MakeChild(const TSharedRef< SWidget > &, const FLayoutGeometry &)
Description
Create a child geometry+widget relative to this one using the given LayoutGeometry.
| Name | MakeChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
| Source | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
FArrangedWidget MakeChild
(
const TSharedRef < SWidget > & ChildWidget,
const FLayoutGeometry & LayoutGeometry
) const
The new child geometry.
Parameters
| Name | Remarks |
|---|---|
| ChildWidget | The child widget this geometry is being created for. |
| LayoutGeometry | Layout geometry of the child. |
MakeChild(const TSharedRef< SWidget > &, const UE::Slate::FDeprecateVector2DParameter &, const FSlateLayoutTransform &)
Description
Create a child geometry+widget relative to this one with a given local space size and layout transform. The Geometry inherits the child widget's render transform. For example, a widget with a 5x5 margin will create a geometry for it's child contents having a LayoutTransform of Translate(5,5) and a LocalSize 10 units smaller than it's own.
| Name | MakeChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
| Source | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
FArrangedWidget MakeChild
(
const TSharedRef < SWidget > & ChildWidget,
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
const FSlateLayoutTransform & LayoutTransform
) const
The new child geometry+widget.
Parameters
| Name | Remarks |
|---|---|
| ChildWidget | The child widget this geometry is being created for. |
| LocalSize | The size of the child geometry in local space. |
| LayoutTransform | Layout transform of the new child relative to this Geometry. |
MakeChild(const UE::Slate::FDeprecateVector2DParameter &, const FSlateLayoutTransform &, const FSlateRenderTransform &, const UE::Slate::FDeprecateVector2DParameter &)
Description
Create a child geometry relative to this one with a given local space size, layout transform, and render transform. For example, a widget with a 5x5 margin will create a geometry for it's child contents having a LayoutTransform of Translate(5,5) and a LocalSize 10 units smaller than it's own.
| Name | MakeChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
FGeometry MakeChild
(
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
const FSlateLayoutTransform & LayoutTransform,
const FSlateRenderTransform & RenderTransform,
const UE::Slate::FDeprecateVector2DParameter & RenderTransformPivot
) const
The new child geometry.
Parameters
| Name | Remarks |
|---|---|
| LocalSize | The size of the child geometry in local space. |
| LayoutTransform | Layout transform of the new child relative to this Geometry. Goes from the child's layout space to the this widget's layout space. |
| RenderTransform | Render-only transform of the new child that is applied before the layout transform for rendering purposes only. |
| RenderTransformPivot | Pivot in normalized local space of the Render transform. |
MakeChild(const TSharedRef< SWidget > &, const UE::Slate::FDeprecateVector2DParameter &, const UE::Slate::FDeprecateVector2DParameter &, float)
Description
!!! 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.
| Name | MakeChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
| Source | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
FArrangedWidget MakeChild
(
const TSharedRef < SWidget > & ChildWidget,
const UE::Slate::FDeprecateVector2DParameter & ChildOffset,
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
float ChildScale
) const
The new child geometry+widget.
Parameters
| Name | Remarks |
|---|---|
| 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. |