FGeometry::ToPaintGeometry

Create a paint geometry with the same size as this geometry with a given 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 FSlateLayoutTransform & LayoutTransform
) const

Remarks

Create a paint geometry with the same size as this geometry with a given layout transform. The paint geometry inherits the widget's render transform.

Returns

The new paint geometry derived from this one.

Parameters

Parameter

Description

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