UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWidgetTransform Struct Reference

#include <WidgetTransform.h>

Public Member Functions

 FWidgetTransform ()
 
 FWidgetTransform (const FVector2D &InTranslation, const FVector2D &InScale, const FVector2D &InShear, float InAngle)
 
bool IsIdentity () const
 
bool operator== (const FWidgetTransform &Other) const
 
bool operator!= (const FWidgetTransform &Other) const
 
FSlateRenderTransform ToSlateRenderTransform () const
 

Public Attributes

FVector2D Translation
 
FVector2D Scale
 
FVector2D Shear
 
float Angle
 

Detailed Description

Describes the standard transformation of a widget

Examples
/work/Engine/Source/Runtime/UMG/Public/Components/Widget.h.

Constructor & Destructor Documentation

◆ FWidgetTransform() [1/2]

FWidgetTransform::FWidgetTransform ( )
inline

◆ FWidgetTransform() [2/2]

FWidgetTransform::FWidgetTransform ( const FVector2D InTranslation,
const FVector2D InScale,
const FVector2D InShear,
float  InAngle 
)
inline

Member Function Documentation

◆ IsIdentity()

bool FWidgetTransform::IsIdentity ( ) const
inline

◆ operator!=()

bool FWidgetTransform::operator!= ( const FWidgetTransform Other) const
inline

◆ operator==()

bool FWidgetTransform::operator== ( const FWidgetTransform Other) const
inline

◆ ToSlateRenderTransform()

FSlateRenderTransform FWidgetTransform::ToSlateRenderTransform ( ) const
inline

Member Data Documentation

◆ Angle

float FWidgetTransform::Angle

The angle in degrees to rotate

◆ Scale

FVector2D FWidgetTransform::Scale

The scale to apply to the widget

◆ Shear

FVector2D FWidgetTransform::Shear

The amount to shear the widget in slate units

◆ Translation

FVector2D FWidgetTransform::Translation

The amount to translate the widget in slate units


The documentation for this struct was generated from the following file: