added MultiPlex Node Page |
Category |
||
Line 49: | Line 49: | ||
== Footnotes == | == Footnotes == | ||
<nowiki>*</nowiki> It can be made bigger or smaller while editing the flux. | <nowiki>*</nowiki> It can be made bigger or smaller while editing the flux. | ||
[[Category:ProtoFlux:Utility]] |
Revision as of 19:30, 11 February 2024
Multiplex
Inputs
+
-
Utility
The Multiplex ProtoFlux node can be used as a fixed-size* array in ProtoFlux Creations. It can be used to iterate over multiple values or variables in a For Loop. The size of a multiplexer can be near infinite, and can multiplex any type.
Inputs
Index (int)
Will make Output (Generic) return the value of the Inputs (Generic) at the provided number position to this input.
Inputs (Generic)
A fixed-size* array of items with a type that will always match Output's type.
Outputs
Output (Generic)
Will return The Inputs (Generic) value at position Index (int).
InputCount (int)
The number of inputs in the fixed-size* array of items in Inputs (Generic).
Examples
-
Example of how to use a Multiplex with a For Loop to show how it can be used to make code simpler.
Footnotes
* It can be made bigger or smaller while editing the flux.