Go to: Related nodes. Attributes.

This node outputs the clamped value of its inputs using the provided minimum and maximum.

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

Node nameParentsClassificationMFn typeCompatible function sets
clampRangeDLnodemathLinear/rounding:utility/scalar:drawdb/shader/operation/clampRangekClampRangekBase
kNamedObject
kDependencyNode
kClampRange

Related nodes

minDL, maxDL, roundDL, floorDL, ceilDL, clampRange

Attributes (4)

input, maximum, minimum, output

Long name (short name)TypeDefaultFlags
input (i) distance (double)0.0cmoutputinputconnectablestorablekeyable
A double value
maximum (max) distance (double)1.0cmoutputinputconnectablestorablekeyable
The maximum value allowed for the input
minimum (min) distance (double)0.0cmoutputinputconnectablestorablekeyable
The minimum value allowed for the input
output (o) distance (double)0.0cmoutputconnectable
The clamped input between the minimum and maximum