Click or drag to resize

MathfAtan Method

Returns the arc tangent of `s` in radians. Use to get the angle of tangent s. The method cannot know in which quadrant the angle should fall. See Atan2(Single, Single) if you have both `y` and `x`.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static float Atan(
	float s
)

Parameters

s
Type: SystemSingle
The input tangent value.

Return Value

Type: Single
An angle that would result in the given tangent value. On the range `-Tau/4` to `Tau/4`.
See Also