Click or drag to resize

Transform2D Properties

The Transform2D type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberFlipX
The transform that will flip something along the X axis.
Public propertyStatic memberFlipY
The transform that will flip something along the Y axis.
Public propertyStatic memberIdentity
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.
Public propertyItemInt32
Access whole columns in the form of Vector2. The third column is the origin vector.
Public propertyItemInt32, Int32
Access matrix elements in column-major order. The third column is the origin vector.
Public propertyRotation
The rotation of this transformation matrix.
Public propertyScale
The scale of this transformation matrix.
Top
See Also