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, roundDL

Attributes (2)

input, output

Long name (short name)TypeDefaultFlags
input (i) double0.0outputinputconnectablestorablekeyable
A double input
output (o) double0.0outputconnectable
The rounded value of the input