Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
Include |
#include "Layout/Geometry.h" |
FGeometry
(
const FVector2D & InLocalSize,
const FSlateLayoutTransform & InLocalLayoutTransform,
const FSlateLayoutTransform & ParentAccumulatedLayoutTransform,
const FSlateRenderTransform & ParentAccumulatedRenderTransform,
bool bParentHasRenderTransform
)
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.
Parameter |
Description |
---|---|
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). |