Array Insert Value
Inserts an element at the given index. The indexing is zero-based, so 0 adds an element to the front of the array and index = Length inserts at the end of the array. The index will be clamped to the range (0, Length), so an index of -1 will add to the front, and an index larger than the array size will append to the end.
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 |
|
value |
|
The value to be inserted |
|
Index (index) |
|
The array index to insert the value, which is clamped to the valid range |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
Array (array) |
|
The modified array |