Clamp
Clamps a number between minimum and maximum
intermediate
Since P00
Input Ports
Input
Input input for Clamp.
Output Ports
Value
Value output from Clamp.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Range Preset | Enum | `Normalized` | Controls the range preset setting for Clamp. |
| Min | Float | `0.0` | Controls the min setting for Clamp. |
| Max | Float | `1.0` | Controls the max setting for Clamp. |
| Soft Min | Float | `0.0` | Controls the soft min setting for Clamp. |
| Soft Max | Float | `1.0` | Controls the soft max setting for Clamp. |
| Soft Step | Float | `0.01` | Controls the soft step setting for Clamp. |
Overview
Clamps a number between minimum and maximum
Inputs and Outputs
Input Ports
- Input
Number: Input input for Clamp.
Output Ports
- Value
Number: Value output from Clamp.
Key Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Range Preset | Enum | `Normalized` | Controls the range preset setting for Clamp. |
| Min | Float | `0.0` | Controls the min setting for Clamp. |
| Max | Float | `1.0` | Controls the max setting for Clamp. |
| Soft Min | Float | `0.0` | Controls the soft min setting for Clamp. |
| Soft Max | Float | `1.0` | Controls the soft max setting for Clamp. |
| Soft Step | Float | `0.01` | Controls the soft step setting for Clamp. |
When to Use
Use Clamp when you need this operation to remain explicit, reusable, and easy to tune inside a PixPipeline node graph.
Notes
Connect compatible data types and preview the result while tuning this node. Parameter names and port names follow the PixPipeline UI.