Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Widgets > SWidget
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
Include | #include "Widgets/SWidget.h" |
void SetRenderTransform
(
TAttribute < TOptional < FSlateRenderTransform > > InTransform
)
Parameters
Name | 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. |