SWidget::SetRenderTransform

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Include

#include "Widgets/SWidget.h"

Syntax

FORCEINLINEvoid SetRenderTransform
(
    TAttribute< TOptional< FSlateRenderTransform >> InTransform
)

Parameters

Parameter

Description

InTransform

the render transform to set for the widget (transforms from widget's local space). TOptional<> to allow code to skip expensive overhead if there is no render transform applied.

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