Click or drag to resize

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
Syntax
C#
public 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