Mathf.Acos
public static float Acos(float f);
Description 描述
Returns the arc-cosine of f - the angle in radians whose cosine is f.
using UnityEngine;
public class ScriptExample : MonoBehaviour { void Start() { print(Mathf.Acos(0.5f)); } }
Returns the arc-cosine of f - the angle in radians whose cosine is f.
using UnityEngine;
public class ScriptExample : MonoBehaviour { void Start() { print(Mathf.Acos(0.5f)); } }