SubtractColorNode

Associated Parameters: SubColorNode

Introduced

7.0

UI Location

• Color

Description

Outputs a new color made from the difference (subtraction) between the two specified input colors.

Parameters

Parameter Name | Scripting Name | Type | Description
Clamp Mode | clampmode | Integer | Clamp Mode Possible Values: • 0: Unit [0,1] • 1: Positive [0,Inf • 2: Don't Clamp

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
0 | 1 | alpha | • Type: siICENodeDataBool • Structure: siICENodeStructureAny • Context: siICENodeContextAny | Determines whether to consider the alpha components of the specified input colors during the subtraction operation or not.
first | • Type: siICENodeDataColor4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The first operand (color) of the subtraction.
second | • Type: siICENodeDataColor4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The second operand (color) of the subtraction.

Outputs

Port Name | Connection Info | Description
result | • Type: siICENodeDataColor4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The new color made from the difference (subtraction) between the two specified input colors.

Restrictions

• These structures must match: first, second, result

• These contexts must match: alpha, first, second, result

See Also

AddColorNode | BlendColorNode | ColorNode | ColorToBrightnessNode
ColorToGrayscaleNode | ColorToHLSANode | ColorToHSVANode | ColorToRGBANode
GradientNode | HLSAToColorNode | HSVAToColorNode | MultiplyColorByScalarNode
RGBAToColorNode | SubtractNode |  |

Autodesk Softimage v7.5