acos
Returns the arccosine of a float value.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
acos(float)
Returns the arccosine of a float value.
public static float acos(float x)
Parameters
Input value.
Returns
Type | Description |
|---|---|
| float | The arccosine of the input. |
acos(float2)
Returns the componentwise arccosine of a float2 vector.
public static float2 acos(float2 x)
Parameters
Input value.
Returns
Type | Description |
|---|---|
| float2 | The componentwise arccosine of the input. |
acos(float3)
Returns the componentwise arccosine of a float3 vector.
public static float3 acos(float3 x)
Parameters
Input value.
Returns
Type | Description |
|---|---|
| float3 | The componentwise arccosine of the input. |
acos(float4)
Returns the componentwise arccosine of a float4 vector.
public static float4 acos(float4 x)
Parameters
Input value.
Returns
Type | Description |
|---|---|
| float4 | The componentwise arccosine of the input. |
acos(double)
Returns the arccosine of a double value.
public static double acos(double x)
Parameters
Input value.
Returns
Type | Description |
|---|---|
| double | The arccosine of the input. |
acos(double2)
Returns the componentwise arccosine of a double2 vector.
public static double2 acos(double2 x)
Parameters
Input value.
Returns
Type | Description |
|---|---|
| double2 | The componentwise arccosine of the input. |
acos(double3)
Returns the componentwise arccosine of a double3 vector.
public static double3 acos(double3 x)
Parameters
Input value.
Returns
Type | Description |
|---|---|
| double3 | The componentwise arccosine of the input. |
acos(double4)
Returns the componentwise arccosine of a double4 vector.
public static double4 acos(double4 x)
Parameters
Input value.
Returns
Type | Description |
|---|---|
| double4 | The componentwise arccosine of the input. |