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.

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

Related nodes

floor

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