clamp
Clip an input to a range within an upper and lower bound.
clamp(in1, in2, in3): out1Arguments:
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| in1 | number | The input to be clipped. | |
| in2 | number | Sets the lower bound of the clip. | |
| in3 | number | Sets the upper bound of the clip. |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | number | The clipped output. |
Aliases
clip