Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/TransformCalculus2D.h |
Include |
#include "Math/TransformCalculus2D.h" |
class FTransform2D
Support for generalized 2D affine transforms. Implemented as a 2x2 transform followed by translation. In matrix form: [A B 0] [C D 0] [X Y 1]
Name | Description | |
---|---|---|
|
FTransform2D ( |
Initialize the transform using an identity matrix and a translation. |
|
FTransform2D ( |
Initialize the transform using a uniform scale and a translation. |
|
FTransform2D |
Initialize the transform using a 2D scale and a translation. |
|
FTransform2D |
Initialize the transform using a 2D shear and a translation. |
|
FTransform2D |
Initialize the transform using a 2D rotation and a translation. |
|
FTransform2D ( |
Initialize the transform using a general 2x2 transform and a translation. |
Name | Description | ||
---|---|---|---|
|
Concatenate ( |
Concatenates two transforms. |
|
|
TransformPoint ( |
2D transformation of a point. Transforms position, rotation, and scale. |
|
|
TransformVector ( |
2D transformation of a vector. Transforms rotation and scale. |