Switch Rows
Pass one of several tables through, chosen by index, which numbers and keyframes can drive. Columns are matched by name. A change requeries; the tables are not made again.
Syntax
{ "id": "n1", "op": "switch-rows", "name": "switch-rows", "x": 0, "y": 0, "params": {} }
An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:index, or read elsewhere as ch('switch-rows/index').
Inputs
| Port | Type | Takes |
|---|---|---|
in | table | several, in order |
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
index | float | 0 |
Outputs
| Port | Type |
|---|---|
out | table |
Details
- Category: Structure
- Operator:
switch-rows