Difference between revisions of "Demultiplex (LogiX node)"
Jump to navigation
Jump to search
(Update and add more info) |
(Marked this version for translation) |
||
Line 21: | Line 21: | ||
+ | <!--T:6--> | ||
The <code>OutputCount</code> output provides the number of ValueOutputs the node currently supports. | The <code>OutputCount</code> output provides the number of ValueOutputs the node currently supports. | ||
+ | <!--T:7--> | ||
This node has a dummy unset datatype when spawned from the node browser. However, it will overload to the correct type when any value or reference typed input is connected. If the <code>Index</code> is less than 0 or greater than <code>OutputCount</code> -1 all outputs will have the <code>DefaultValue</code>. | This node has a dummy unset datatype when spawned from the node browser. However, it will overload to the correct type when any value or reference typed input is connected. If the <code>Index</code> is less than 0 or greater than <code>OutputCount</code> -1 all outputs will have the <code>DefaultValue</code>. | ||
Revision as of 03:20, 18 February 2022
Demultiplex | ||
---|---|---|
Inputs | ||
Object | Value | |
Object | DefaultValue | |
Int | Index | |
Outputs | ||
Object | ValueOutputs.[0] | |
Object | ValueOutputs.[1] | |
Object | ValueOutputs.[2] | |
Int | OutputCount |
The Demultiplex node outputs the input Value
at the output with corresponding to the input Index
. Every other output is set to the input DefaultValue
.
Usage
The Index
value corresponding to each ValueOutput
is indicated in square brackets in the output's name.
The OutputCount
output provides the number of ValueOutputs the node currently supports.
This node has a dummy unset datatype when spawned from the node browser. However, it will overload to the correct type when any value or reference typed input is connected. If the Index
is less than 0 or greater than OutputCount
-1 all outputs will have the DefaultValue
.