Go to: Related nodes. Attributes.

This node outputs the rounding of its input. Round the input to the nearest integer. A value of 0.5 will round to 1.

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

Node nameParentsClassificationMFn typeCompatible function sets
roundDLnodemathLinear:utility/scalar:drawdb/shader/operation/roundkRoundkBase
kNamedObject
kDependencyNode
kRound

Related nodes

floorDL, round

Attributes (2)

input, output

Long name (short name)TypeDefaultFlags
input (i) distance (double)0.0cmoutputinputconnectablestorablekeyable
A double input
output (o) distance (double)0.0cmoutputconnectable
The rounded value of the input