Array Set Index
Sets an element of an array. If the given index is negative it will be an offset from the end of the array.
Installation
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
Array (array) |
|
The array to be modified |
|
Index (index) |
|
The index into the array, a negative value indexes from the end of the array |
|
resizeToFit |
|
When true, and the given positive index is larger than the highest index in the array resize the output array to length 1 + index, and fill the new spaces with zeros |
|
value |
|
The value to set at the given index |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
Array (array) |
|
The modified array |