Value Array

Map values to indices.

Auto Index - when checked the node will automatically output all indices.

Array Index - select the index within the array.

Add - use this button to add more rows (indices) to the UI.

0: Value - the first index in the array.

Example usage:

Start with a simple Basic Shape (Polygon) in a Duplicator.

  1. Create 3 indices (Add button) and set values of 3, 5 and 8 for each index.

  2. Connect valueArray.id > basicShape.sides

  3. Connect a Random node to the Array Index of the Value Array.

  4. Set Min and Max on Random to 0 and 2

Each duplicate will randomly be a 3, 5 or 8 sided polygon.

Also see Color Array.