![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateLayoutTransform.h>
Public Member Functions | |
| FSlateLayoutTransform (float InScale=1.0f) | |
| FSlateLayoutTransform (float InScale, const UE::Slate::FDeprecateVector2DParameter &InTranslation) | |
| FSlateLayoutTransform (const UE::Slate::FDeprecateVector2DParameter &InTranslation) | |
| UE::Slate::FDeprecateVector2DResult | GetTranslation () const |
| float | GetScale () const |
| FMatrix | ToMatrix () const |
| UE::Slate::FDeprecateVector2DResult | TransformPoint (const UE::Slate::FDeprecateVector2DParameter &Point) const |
| UE::Slate::FDeprecateVector2DResult | TransformVector (const UE::Slate::FDeprecateVector2DParameter &Vector) const |
| FSlateLayoutTransform | Concatenate (const FSlateLayoutTransform &RHS) const |
| FSlateLayoutTransform | Inverse () const |
| bool | operator== (const FSlateLayoutTransform &Other) const |
| bool | operator!= (const FSlateLayoutTransform &Other) const |
Represents a 2D transformation in the following order: scale then translate. Used by FGeometry for it's layout transformations.
Matrix form looks like: [Vx Vy 1] * [ S 0 0 ] [ 0 S 0 ] [ Tx Ty 1 ]
|
inline |
|
inlineexplicit |
Ctor from a scale followed by translate. Shortcut to Concatenate(InScale, InTranslation).
|
inlineexplicit |
|
inline |
This works by transforming the origin through LHS then RHS. In matrix form, looks like this: [ Sa 0 0 ] [ Sb 0 0 ] [ 0 Sa 0 ] * [ 0 Sb 0 ] [ Tax Tay 1 ] [ Tbx Tby 1 ]
|
inline |
Access to the scale.
|
inline |
Access to the 2D translation
|
inline |
Invert the transform/scale.
|
inline |
Inequality.
|
inline |
Equality.
|
inline |
Support for converting to an FMatrix.
|
inline |
|
inline |