Click or drag to resize

Transform2DRotated Method

Rotates the transform by `phi` (in radians), using matrix multiplication.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Transform2D Rotated(
	float phi
)

Parameters

phi
Type: SystemSingle
The angle to rotate, in radians.

Return Value

Type: Transform2D
The rotated transformation matrix.
See Also