FGeometry::ToPaintGeometry

!!! DEPRECATED FUNCTION !!! Use ToPaintGeometry taking a layout transform instead! Create a paint geometry relative to this one with a given local space size and layout transform given as a scale+offset.

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 & InLocalOffset,
    const FVector2D & InLocalSize,
    float InLocalScale
) const

Remarks

!!! DEPRECATED FUNCTION !!! Use ToPaintGeometry taking a layout transform instead! Create a paint geometry relative to this one with a given local space size and layout transform given as a scale+offset. The paint geometry inherits the widget's render transform.

Returns

The new paint geometry derived from this one.

Parameters

Parameter

Description

LocalOffset

Offset of the paint geometry relative to the parent. Scale+Offset effectively define the layout transform.

LocalSize

The size of the paint geometry in local space.

LocalScale

Scale of the paint geometry relative to the parent. Scale+Offset effectively define the layout transform.

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