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
Syntaxpublic static Transform2D Identity { get; }
Property Value
Type:
Transform2DEquivalent to `new Transform2D(Vector2.Right, Vector2.Down, Vector2.Zero)`.
See Also