Difference between revisions of "Demultiplex (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:LogiX|Demultiplex]]
+
<languages></languages>
[[Category:NodeMenu|Demultiplex]]
+
<translate>
 +
<!--T:1-->
 +
{{Infobox Logix Node
 +
| Name = Demultiplex
 +
| Image =[[File: Demultiplexer`1Node.png | noframe | 128px | 'Demultiplex' LogiX node ]]
 +
| Input0Type = Object | Input0Name = Value
 +
| Input1Type = Object | Input1Name = DefaultValue
 +
| Input2Type = Int | Input2Name = Index
 +
| Output0Type = Object | Output0Name = ValueOutputs.[0]
 +
| Output1Type = Object | Output1Name = ValueOutputs.[1]
 +
| Output2Type = Object | Output2Name = ValueOutputs.[2]
 +
| Output3Type = Int | Output3Name = OutputCount
 +
}}
 +
 
 +
<!--T:2-->
 +
The '''Demultiplex''' node outputs the input <code>Value</code> at the output with corresponding to the input <code>Index</code>. Every other output is set to the input <code>DefaultValue</code>.
 +
 
 +
== Usage == <!--T:3-->
 +
The <code>Index</code> value corresponding to each <code>ValueOutput</code> is indicated in square brackets in the output's name.
 +
 
 +
 
 +
<!--T:6-->
 +
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>.
 +
 
 +
 
 +
== Examples == <!--T:4-->
 +
 
 +
== Node Menu == <!--T:5-->
 +
</translate>
 +
 
 +
[[Category:LogiX{{#translation:}}|Demultiplex]]
 
{{:NodeMenu}}
 
{{:NodeMenu}}
<hr>
 
<onlyinclude>
 
[[File: LogiX_Demultiplex.jpg]]
 
Demultiplex will send Input A to Output <i>[[Datatype: Integer|Integer]]</i>, Every other output will get Input B. Uses [[0 Index]].
 

Latest revision as of 08:08, 19 February 2022

Other languages:
English • ‎日本語
Demultiplex
'Demultiplex' LogiX node
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.


Examples

Node Menu

Actions Assets Audio Avatar Color Components Debug
Flow Formatting Input Input Devices Interaction Locomotion Math
Meta Network Operators Physics Playback References Rendering
Slots String Tools Transactions Transform UI Undo
Users Utility Variables Visualization World Cache Delay Value
Demultiplex Display Display Impulse Impulse Relay Multiplex Pick Random Relay
Updating Relay