style, fixup |
m YoshBot moved page ProtoFlux:Clamp 01 to ProtoFlux:Clamp01: Automated: removing spaces from ProtoFlux namespace |
(No difference)
|
Latest revision as of 23:45, 20 August 2025
Clamp01
Math
*
The Clamp 01 node clamps the provided numeric value between 0 and 1.
Inputs
N (Generic)
A numeric value.
Outputs
* (Generic)
The input value, with the following conditions:
- If
N < 0
, output0
- If
N > 1
, output1
- Otherwise, output
N
In the case of types with multiple values, each individual value will be clamped.
Examples
-
Four examples of the Clamp 01 node.
See Also
- ProtoFlux:Value Clamp, for clamping between arbitrary bounds.