ドキュメント

Unity Engine

Unity Engine

Atan(float)

Returns the arc-tangent of f - the angle in radians whose tangent is f.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static float Atan(float f)

Parameters

Returns

Type

Description

float

Examples

using UnityEngine;public class ScriptExample : MonoBehaviour{ void Start() { print(Mathf.Atan(0.5f)); }}