Rotates this vector by `phi` radians.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector2 Rotated(
float phi
)
Parameters
- phi
- Type: SystemSingle
The angle to rotate by, in radians.
Return Value
Type:
Vector2The rotated vector.
See Also