ProtoFlux:Conditional: Difference between revisions

From Resonite Wiki
Fixed descriptions. Added suggestion. Added See Also section.
Added another suggestion.
 
Line 17: Line 17:
The '''Conditional''' node changes its output depending on the input <code>Condition</code>.
The '''Conditional''' node changes its output depending on the input <code>Condition</code>.


{{Note|If you want something similar to this but with [[Impulses|impulses]], use the [[ProtoFlux:If|If]] node instead.|suggestion}}
{{Note|If you want something similar to this but with [[Impulses|impulses]], use the [[ProtoFlux:If|If]] node instead.
If you want to mask different parts of a [[Value Type|value]], use the [[ProtoFlux:Mask|Mask]] node instead.|suggestion}}


== Inputs ==
== Inputs ==

Latest revision as of 13:58, 27 June 2024

?:
OnTrue
*
OnFalse
Condition
Operators

The Conditional node changes its output depending on the input Condition.

If you want something similar to this but with impulses, use the If node instead.

If you want to mask different parts of a value, use the Mask node instead.

Inputs

OnTrue (Pseudo-Generic)

The value to output when the Condition is true.

OnFalse (Pseudo-Generic)

The value to output when the Condition is false.

Condition (Bool)

A boolean to decide which input value to output.

Outputs

* (Pseudo-Generic)

Returns the result.

See Also