Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateLayoutTransform.h |
Include |
#include "Rendering/SlateLayoutTransform.h" |
class FSlateLayoutTransform
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 ]
Name | Description | |
---|---|---|
|
FSlateLayoutTransform ( |
Ctor from a 2D translation followed by a scale. |
|
FSlateLayoutTransform ( |
Ctor from a scale followed by translate. |
Name | Description | ||
---|---|---|---|
|
FSlateLayout... |
Concatenate ( |
This works by transforming the origin through LHS then RHS. |
|
float |
GetScale() |
Access to the scale. |
|
GetTranslation() |
Access to the 2D translation |
|
|
FSlateLayout... |
Inverse() |
Invert the transform/scale. |
|
ToMatrix() |
Support for converting to an FMatrix. |
|
|
TransformPoint ( |
2D transform support. |
|
|
TransformVector ( |
2D transform support. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Inequality. |
|
|
operator== ( |
Equality. |