Go to: Related nodes. Attributes.

This node outputs the modulo of the input using the given modulus. The modulo is the wrapped around value of the input using modular arithmetic.

Node nameParentsClassificationMFn typeCompatible function sets
modulonodemath/operation:utility/scalar:drawdb/shader/operation/modulokModulokBase
kNamedObject
kDependencyNode
kModulo

Related nodes

power, multiply, truncate

Attributes (3)

input, modulus, output

Long name (short name)TypeDefaultFlags
input (i) distance (double)0.0cmoutputinputconnectablestorablekeyable
The value to wrap around using the given modulus
modulus (m) distance (double)1cmoutputinputconnectablestorablekeyable
The modulus
output (o) distance (double)0.0cmoutputconnectable
The input wrapped around the modulus