Skip to content

Math.Atan

Name - Description Default Type
<input> The input float or sequence of floats to calculate the inverse tangent of. FloatFloat2Float3Float4Color[Any]
<output> Outputs the angle in radians whose tangent is the input value. FloatFloat2Float3Float4Color[Any]

This shard calculates the inverse tangent of the given input, where the input is the tangent value. The output is the angle in radians whose tangent is the input value.

Examples

1
2
3
4
5
(float3 -1.0 0.0 1.0)
(Math.Atan) (Log)

(Math.Subtract (float3 -0.78539816 0.0 0.78539816)) (Math.Abs)
(IsLess (float3 1e-05 1e-05 1e-05)) (Assert.Is true true)