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

Attributes (3)

input, modulus, output

Long name (short name)TypeDefaultFlags
input (i) double0.0outputinputconnectablestorablekeyable
The value to wrap around using the given modulus
modulus (m) double1outputinputconnectablestorablekeyable
The modulus
output (o) double0.0outputconnectable
The input wrapped around the modulus