Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FGeometry
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGeometry MakeRoot
(
const UE::Slate::FDeprecateVector2DParameter& InLocalSize, |
Makes a new geometry that is essentially the root of a hierarchy (has no parent transforms to inherit). | Layout/Geometry.h | |
static FGeometry MakeRoot
(
const UE::Slate::FDeprecateVector2DParameter& InLocalSize, |
Makes a new geometry that is essentially the root of a hierarchy (has no parent transforms to inherit). | Layout/Geometry.h |
MakeRoot(const UE::Slate::FDeprecateVector2DParameter &, const FSlateLayoutTransform &)
Description
Makes a new geometry that is essentially the root of a hierarchy (has no parent transforms to inherit). For a root Widget, the LayoutTransform is often the window DPI scale + window offset.
| Name | MakeRoot |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
static FGeometry MakeRoot
(
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
const FSlateLayoutTransform & LayoutTransform
)
The new root geometry
Parameters
| Name | Remarks |
|---|---|
| LocalSize | Size of the geometry in Local Space. |
| LayoutTransform | Layout transform of the geometry. |
MakeRoot(const UE::Slate::FDeprecateVector2DParameter &, const FSlateLayoutTransform &, const FSlateRenderTransform &)
Description
Makes a new geometry that is essentially the root of a hierarchy (has no parent transforms to inherit). For a root Widget, the LayoutTransform is often the window DPI scale + window offset.
| Name | MakeRoot |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
static FGeometry MakeRoot
(
const UE::Slate::FDeprecateVector2DParameter & InLocalSize,
const FSlateLayoutTransform & LayoutTransform,
const FSlateRenderTransform & RenderTransform
)
The new root geometry
Parameters
| Name | Remarks |
|---|---|
| LocalSize | Size of the geometry in Local Space. |
| LayoutTransform | Layout transform of the geometry. |