기술 자료

Unity Engine

Unity Engine

Acos(float)

Returns the arc-cosine of f - the angle in radians whose cosine is f.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Parameters

Returns

Type

Description

float

Examples

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