Transform2DRotated Method |
Rotates the transform by `phi` (in radians), using matrix multiplication.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntaxpublic Transform2D Rotated(
float phi
)
Parameters
- phi
- Type: SystemSingle
The angle to rotate, in radians.
Return Value
Type:
Transform2DThe rotated transformation matrix.
See Also