ProtoFlux:Value Clamp

From Resonite Wiki
Revision as of 12:35, 26 July 2024 by AmasterAmaster (talk | contribs) (Updated this page slightly, fixed name of node visual, added warning note about this node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Clamp
Value
*
Min
Max
Math

The ValueClamp node will force a value to stay within the defined Min and Max.

There is currently an issue (#1530) with this node (specifically inclusive vs exclusive).

Inputs

Value (Pseudo-generic)

The value to clamp.

Min (Pseudo-generic)

The forced minimum value for the input.

Max (Pseudo-generic)

The forced maximum value for the input.

Outputs

* (Pseudo-generic)

Returns the result.