Click or drag to resize

Transform2DIdentity Property

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.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Transform2D Identity { get; }

Property Value

Type: Transform2D
Equivalent to `new Transform2D(Vector2.Right, Vector2.Down, Vector2.Zero)`.
See Also