Go to: Related nodes. Attributes.

This node outputs the difference between input1 and input2.

Note: This node is deprecated in favor of its unitless version "subtract" and may be removed in a future release.

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

Related nodes

multiplyDL, divideDL, sumDL, addDL, subtract

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