Transform2D Constructor (Single, Vector2) |
Constructs a transformation matrix from a rotation value and origin vector.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntaxpublic Transform2D(
float rot,
Vector2 pos
)
Parameters
- rot
- Type: SystemSingle
The rotation of the new transform, in radians. - pos
- Type: GodotVector2
The origin vector, or column index 2.
See Also