Navigation
API > API/Runtime > API/Runtime/UMG
Describes the standard transformation of a widget
| Name | FWidgetTransform |
| Type | struct |
| Header File | /Engine/Source/Runtime/UMG/Public/Slate/WidgetTransform.h |
| Include Path | #include "Slate/WidgetTransform.h" |
Syntax
USTRUCT (BlueprintType )
struct FWidgetTransform
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Slate/WidgetTransform.h | |||
FWidgetTransform
(
const FVector2D& InTranslation, |
Slate/WidgetTransform.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Angle | float | The angle in degrees to rotate | Slate/WidgetTransform.h |
|
| Scale | FVector2D | The scale to apply to the widget | Slate/WidgetTransform.h |
|
| Shear | FVector2D | The amount to shear the widget in slate units | Slate/WidgetTransform.h |
|
| Translation | FVector2D | The amount to translate the widget in slate units | Slate/WidgetTransform.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsIdentity() |
Slate/WidgetTransform.h | ||
FSlateRenderTransform ToSlateRenderTransform() |
Slate/WidgetTransform.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FWidgetTransform& Other |
Slate/WidgetTransform.h | ||
bool operator==
(
const FWidgetTransform& Other |
Slate/WidgetTransform.h |