Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FGeometry
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometry () |
Default constructor. Creates a geometry with identity transforms. | Layout/Geometry.h | |
| Copy constructor. | Layout/Geometry.h | ||
FGeometry
(
const UE::Slate::FDeprecateVector2DParameter& OffsetFromParent, |
!!! DEPRECATED FUNCTION !!! Use MakeChild taking a layout transform instead! Construct a new geometry given the following parameters: | Layout/Geometry.h | |
FGeometry
(
const UE::Slate::FDeprecateVector2DParameter& InLocalSize, |
Construct a new geometry with a given size in LocalSpace (and identity render transform) that is attached to a parent geometry with the given layout and render transform. | Layout/Geometry.h | |
FGeometry
(
const UE::Slate::FDeprecateVector2DParameter& InLocalSize, |
Construct a new geometry with a given size in LocalSpace that is attached to a parent geometry with the given layout and render transform. | Layout/Geometry.h |
FGeometry()
Description
Default constructor. Creates a geometry with identity transforms.
| Name | FGeometry |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Layout/Geometry.cpp |
FGeometry()
FGeometry(const FGeometry &)
Description
Copy constructor.
| Name | FGeometry |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
FGeometry
(
const FGeometry & RHS
)
FGeometry(const UE::Slate::FDeprecateVector2DParameter &, const UE::Slate::FDeprecateVector2DParameter &, const UE::Slate::FDeprecateVector2DParameter &, float)
Description
!!! DEPRECATED FUNCTION !!! Use MakeChild taking a layout transform instead! Construct a new geometry given the following parameters:
| Name | FGeometry |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
FGeometry
(
const UE::Slate::FDeprecateVector2DParameter & OffsetFromParent,
const UE::Slate::FDeprecateVector2DParameter & ParentAbsolutePosition,
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
float InScale
)
Parameters
| Name | Remarks |
|---|---|
| OffsetFromParent | Local position of this geometry within its parent geometry. |
| ParentAbsolutePosition | The absolute position of the parent geometry containing this geometry. |
| InSize | The size of this geometry. |
| InScale | The scale of this geometry with respect to Normal Slate Coordinates. |
FGeometry(const UE::Slate::FDeprecateVector2DParameter &, const FSlateLayoutTransform &, const FSlateLayoutTransform &, const FSlateRenderTransform &, bool)
Description
Construct a new geometry with a given size in LocalSpace (and identity render transform) that is attached to a parent geometry with the given layout and render transform.
| Name | FGeometry |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
FGeometry
(
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
const FSlateLayoutTransform & InLocalLayoutTransform,
const FSlateLayoutTransform & ParentAccumulatedLayoutTransform,
const FSlateRenderTransform & ParentAccumulatedRenderTransform,
bool bParentHasRenderTransform
)
Parameters
| Name | Remarks |
|---|---|
| InLocalSize | The size of the geometry in Local Space. |
| InLocalLayoutTransform | A layout transform from local space to the parent geoemtry's local space. |
| ParentAccumulatedLayoutTransform | The accumulated layout transform of the parent widget. AccumulatedLayoutTransform = Concat(LocalLayoutTransform, ParentAccumulatedLayoutTransform). |
| ParentAccumulatedRenderTransform | The accumulated render transform of the parent widget. AccumulatedRenderTransform = Concat(LocalRenderTransform, LocalLayoutTransform, ParentAccumulatedRenderTransform). |
FGeometry(const UE::Slate::FDeprecateVector2DParameter &, const FSlateLayoutTransform &, const FSlateRenderTransform &, const UE::Slate::FDeprecateVector2DParameter &, const FSlateLayoutTransform &, const FSlateRenderTransform &)
Description
Construct a new geometry with a given size in LocalSpace that is attached to a parent geometry with the given layout and render transform.
| Name | FGeometry |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
FGeometry
(
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
const FSlateLayoutTransform & InLocalLayoutTransform,
const FSlateRenderTransform & InLocalRenderTransform,
const UE::Slate::FDeprecateVector2DParameter & InLocalRenderTransformPivot,
const FSlateLayoutTransform & ParentAccumulatedLayoutTransform,
const FSlateRenderTransform & ParentAccumulatedRenderTransform
)
Parameters
| Name | Remarks |
|---|---|
| InLocalSize | The size of the geometry in Local Space. |
| InLocalLayoutTransform | A layout transform from local space to the parent geoemtry's local space. |
| InLocalRenderTransform | A render-only transform in local space that will be prepended to the LocalLayoutTransform when rendering. |
| InLocalRenderTransformPivot | Pivot in normalizes local space for the local render transform. |
| ParentAccumulatedLayoutTransform | The accumulated layout transform of the parent widget. AccumulatedLayoutTransform = Concat(LocalLayoutTransform, ParentAccumulatedLayoutTransform). |
| ParentAccumulatedRenderTransform | The accumulated render transform of the parent widget. AccumulatedRenderTransform = Concat(LocalRenderTransform, LocalLayoutTransform, ParentAccumulatedRenderTransform). |