FGeometry::ToPaintGeometry

Create a paint geometry relative to this one with a given local space size and layout transform.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Layout/Geometry.h"

Syntax

FPaintGeometry ToPaintGeometry
(
    const FVector2D & InLocalSize,
    const FSlateLayoutTransform & InLayoutTransform,
    const FSlateRenderTransform & RenderTransform,
    const FVector2D & RenderTransformPivot
) const

Remarks

Create a paint geometry relative to this one with a given local space size and layout transform. The paint geometry inherits the widget's render transform.

Returns

The new paint geometry derived from this one.

Parameters

Parameter

Description

LocalSize

The size of the child geometry in local space.

LayoutTransform

Layout transform of the paint geometry relative to this Geometry.

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