Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Mathf.Atan

Switch to Manual
public static function Atan(f: float): float;

Parameters

Description

Returns the arc-tangent of f - the angle in radians whose tangent is f.

	print (Mathf.Atan(0.5));