MergeIntLists¶
Merges multiple lists of integers into a single list.
This operator combines several integer lists into one. It's particularly useful for assembling data packets for protocols like Art-Net or sACN, where different parts of a DMX universe might be generated by separate logic.
Tips:
- Use StartIndices to specify where each input list should be placed in the final output list.
- MaxSize defines the total size of the output list. If the combined lists are larger, they will be truncated.
AKA: combine, join, concatenate, int list
Input Parameters¶
| Name (Relevancy & Type) | Description |
|---|---|
| Enabled (Boolean) | A list of booleans to enable or disable the merging of the corresponding input lists. |
| InputLists (List`1 Required) | A multi-input for the integer lists to be merged. |
| MaxSize (Int32) | The total size of the output list. If the merged lists are smaller, the remaining elements will be 0. If the merged lists are larger, they will be truncated. |
| MergeMode (Int32) | Defines how overlapping data is handled. 'Override' will let later lists overwrite earlier ones. 'Add' will sum the values where lists overlap. |
| StartIndices (List`1) | An optional list of start indices. If set, each input list will be written into the output list starting at the specified index. If not set, lists are concatenated one after another. |
Outputs¶
| Name | Type |
|---|---|
| Result | System.Collections.Generic.List`1[System.Int32] |