Go to: Related nodes. Attributes.

This node outputs the cosine of the given angle in radians. The cosine of an angle is the ratio of the length of the adjacent side to the length of the hypotenuse.

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

Node nameParentsClassificationMFn typeCompatible function sets
cosDLnodemathLinear/trigonometry:utility/scalar:drawdb/shader/operation/coskCoskBase
kNamedObject
kDependencyNode
kCos

Related nodes

sinDL, tanDL, asinDL, acosDL, atanDL, atan2DL, cos

Attributes (2)

input, output

Long name (short name)TypeDefaultFlags
input (i) angle (double)0.0degoutputinputconnectablestorablekeyable
An angle in radians
output (o) distance (double)0.0cmoutputconnectable
the result of trigonometric function cos(x)