FGeometry::FGeometry

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.

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 FSlateLayoutTransform & ParentAccumulatedLayoutTransform,
    const FSlateRenderTransform & ParentAccumulatedRenderTransform,
    bool bParentHasRenderTransform
)

Remarks

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.

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.

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