Added flux node and rudimentary explanations. |
Updated this page slightly, fixed name of node visual, added warning note about this node. |
||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name= | |Name=Clamp | ||
|Category=Math | |Category=Math | ||
|Inputs= | |Inputs= | ||
Line 14: | Line 14: | ||
|}} | |}} | ||
The | The '''ValueClamp''' node will force a value to stay within the defined Min and Max. | ||
{{Note|There is currently an [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1530 issue (#1530)] with this node (specifically inclusive vs exclusive).|warning}} | |||
== Inputs == | == Inputs == |
Latest revision as of 12:35, 26 July 2024
Clamp
Math
The ValueClamp node will force a value to stay within the defined Min and Max.
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.