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, clampRangeDL

Attributes (4)

input, maximum, minimum, output

Long name (short name)TypeDefaultFlags
input (i) double0.0outputinputconnectablestorablekeyable
A double value
maximum (max) double1.0outputinputconnectablestorablekeyable
The maximum value allowed for the input
minimum (min) double0.0outputinputconnectablestorablekeyable
The minimum value allowed for the input
output (o) double0.0outputconnectable
The clamped input between the minimum and maximum