Transform2D Properties |
The Transform2D type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | FlipX |
The transform that will flip something along the X axis.
|
![]() ![]() | FlipY |
The transform that will flip something along the Y axis.
|
![]() ![]() | Identity |
The identity transform, with no translation, rotation, or scaling applied.
This is used as a replacement for `Transform2D()` in GDScript.
Do not use `new Transform2D()` with no arguments in C#, because it sets all values to zero.
|
![]() | ItemInt32 |
Access whole columns in the form of Vector2. The third column is the origin vector.
|
![]() | ItemInt32, Int32 |
Access matrix elements in column-major order. The third column is the origin vector.
|
![]() | Rotation |
The rotation of this transformation matrix.
|
![]() | Scale |
The scale of this transformation matrix.
|