Go to: Related nodes. Attributes.

This node outputs the integer part of the input double.

Node nameParentsClassificationMFn typeCompatible function sets
truncatenodemath/rounding:utility/scalar:drawdb/shader/operation/truncatekTruncatekBase
kNamedObject
kDependencyNode
kTruncate

Related nodes

round, floor, ceil, modulo

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 integer portion of the input