Go to: Related nodes. Attributes.

This node outputs the arc tangent value of its inputs. It computes the unambiguous value for the angle a in converting from Cartesian coordinates (x, y) to polar coordinates (r, a) where x = r * cos(a), y = r * sin(a) and r^2 = x^2 + y^2

Note: This node is deprecated in favor of its unitless version "atan2" and may be removed in a future release.

Node nameParentsClassificationMFn typeCompatible function sets
atan2DLnodemathLinear:utility/scalar:drawdb/shader/operation/atan2kATan2kBase
kNamedObject
kDependencyNode
kATan2

Related nodes

sinDL, cosDL, tanDL, asinDL, acosDL, atanDL, atan2

Attributes (3)

input1, input2, output

Long name (short name)TypeDefaultFlags
input1 (i1) distance (double)0.0cmoutputinputconnectablestorablekeyable
The x value used for computing the angle.
input2 (i2) distance (double)0.0cmoutputinputconnectablestorablekeyable
The y value used for computing the angle.
output (o) angle (double)0.0degoutputconnectable
The angle for which x = r * cos(a), y = r * sin(a) and r^2 = x^2 + y^2 is true