Added flux node and rudimentary explanations. |
cleanup, style, link |
||
Line 14: | Line 14: | ||
|}} | |}} | ||
The | The '''Is Between''' node determines whether a number lies between two other numbers, inclusive, on the real number line. | ||
== Inputs == | == Inputs == | ||
=== Value (Pseudo-generic) === | === Value (Pseudo-generic) === | ||
The number to evaluate. | |||
The | === Min (Pseudo-generic) === | ||
The min to compare <code>Value</code> to. | |||
=== Max (Pseudo-generic) === | |||
The max to compare <code>Value</code> to. | |||
=== Max (Pseudo-generic) === | |||
The max to compare | |||
== Outputs == | == Outputs == | ||
=== * ([[Type:Bool|Bool]]) === | === * ([[Type:Bool|Bool]]) === | ||
<code>True</code> if <code>Value</code> resides between <code>Min</code> and </code>Max</code> on the real number line, inclusive. <code>False</code> otherwise. | |||
== See Also == | |||
* [[ProtoFlux:Value Clamp]], which clamps a value to <code>Min</code> or <code>Max</code> if it lies outside of the range. | |||
[[Category:ProtoFlux:Math]] | [[Category:ProtoFlux:Math]] |
Latest revision as of 18:29, 7 July 2024
Is Between
Math
The Is Between node determines whether a number lies between two other numbers, inclusive, on the real number line.
Inputs
Value (Pseudo-generic)
The number to evaluate.
Min (Pseudo-generic)
The min to compare Value
to.
Max (Pseudo-generic)
The max to compare Value
to.
Outputs
* (Bool)
True
if Value
resides between Min
and Max on the real number line, inclusive. False
otherwise.
See Also
- ProtoFlux:Value Clamp, which clamps a value to
Min
orMax
if it lies outside of the range.