Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
Include |
#include "Layout/Geometry.h" |
static FGeometry MakeRoot
(
const FVector2D & InLocalSize,
const FSlateLayoutTransform & LayoutTransform
)
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.
The new root geometry
Parameter |
Description |
---|---|
LocalSize |
Size of the geometry in Local Space. |
LayoutTransform |
Layout transform of the geometry. |