FGeometry::FGeometry

Construct a new geometry with a given size in LocalSpace that is attached to a parent geometry with the given layout and render transform.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h

Include

#include "Layout/Geometry.h"

Syntax

FGeometry
(
    const FVector2D & InLocalSize,
    const FSlateLayoutTransform & InLocalLayoutTransform,
    const FSlateRenderTransform & InLocalRenderTransform,
    const FVector2D & InLocalRenderTransformPivot,
    const FSlateLayoutTransform & ParentAccumulatedLayoutTransform,
    const FSlateRenderTransform & ParentAccumulatedRenderTransform
)

Remarks

Construct a new geometry with a given size in LocalSpace that is attached to a parent geometry with the given layout and render transform.

Parameters

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.

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).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss