ClampNode

Introduced

7.0

UI Location

• Math > Basic

Description

Outputs the specified input value clamped between the two specified input limits.

Note: There are no restrictions on the limit values. The first limit can be greater than, equal to or less than the second limit.

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
0 | 1 | value | • Type: siICENodeDataBool or siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4 or siICENodeDataColor4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The value to clamp between the two specified input limits.
limit1 | • Type: siICENodeDataBool or siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4 or siICENodeDataColor4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The first limit for the clamping operation.
limit2 | • Type: siICENodeDataBool or siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4 or siICENodeDataColor4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The second limit for the clamping operation.

Outputs

Port Name | Connection Info | Description
result | • Type: siICENodeDataBool or siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4 or siICENodeDataColor4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The specified input value clamped between the two specified input limits.

Restrictions

• These types must match: value, limit1, limit2, result

• These structures must match: value, limit1, limit2, result

• These contexts must match: value, limit1, limit2, result

See Also

AbsoluteValueNode | AddNode | BlendNode | DivideByScalarNode
ExponentNode | InvertNode | LinearInterpolateNode | LogarithmNode
ModuloNode | MultiplyNode | MultiplyByScalarNode | NegateNode
QuaternionInterpolateNode | RescaleNode | RoundNode | SquareRootNode
SubtractNode |  |  |

Autodesk Softimage v7.5