m no usage |
m ProbablePrime moved page Clamp 01 (ProtoFlux) to ProtoFlux:Clamp 01: Creating protoflux Namespace |
(No difference)
|
Revision as of 06:52, 20 January 2024
Clamp01
Math
Clamp 01 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.