Vector switch

Switches between vector inputs using an index.


Inputs

  • index

    • The index of the vector value to output. This can only be 0, 1, 2, or 3.
  • value 0

    • The vector value of index 0.
  • value 1

    • The vector value of index 1.
  • value 2

    • The vector value of index 2.
  • value 3

    • The vector value of index 3.

Outputs

  • result

    • The vector value of the selected index.
  • result list

    • The list of vector values of the selected index.

Note(s)

  • Unlike the Switch node, all upstream nodes of input connections are computed.

  • Other names for this node include: VectorSwitch, Case, and If.

Example(s)