Go to: Related nodes. Attributes.

This node outputs the difference between input1 and input2.

Node nameParentsClassificationMFn typeCompatible function sets
subtractnodemath/operation:utility/scalar:drawdb/shader/operation/subtractkSubtractkBase
kNamedObject
kDependencyNode
kSubtract

Related nodes

multiply, divide, sum, addDoubleLinear

Attributes (3)

input1, input2, output

Long name (short name)TypeDefaultFlags
input1 (i1) distance (double)0.0cmoutputinputconnectablestorablekeyable
The subtrahend input value
input2 (i2) distance (double)0.0cmoutputinputconnectablestorablekeyable
The minuend input value
output (o) distance (double)0.0cmoutputconnectable
The difference of the inputs