Go to: Related nodes. Attributes.

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

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

Related nodes

min, max, round, floor, ceil

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