Unity - Scripting API: Mathf.Asin
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Declaration
public static float Asin(float f);
Parameters
| Parameter | Description |
|---|---|
| f | Value to compute the arc-sine for, in the range [-1,1]. |
Returns
float
Angle in radians whose sine equals f, in the range [-Pi/2, Pi/2].
Description
Returns the arc-sine of f - the angle in radians whose sine is f.
For values of f outside of the [-1,1] range, this function will return NaN.
Additional resources: Sin.