Nodes ▸ Functions ▸ Augmenters
Roll
Shifts the elements of array a cyclically by shift positions along axis; a blank axis rolls the flattened array.
Wraps roll.
Inputs
| Port | Accepts | Required | Description |
|---|---|---|---|
a | primitive(array) | required | The array to rearrange |
Parameter ports
Added from the Parameters pane (⊕). While connected, each drives its parameter.
| Port | Accepts | Mode | Description |
|---|---|---|---|
axis | primitive(number) | opt-in drives axis | Drives the Axis parameter while connected |
shift | primitive(number) | opt-in drives shift | Drives the Shift parameter while connected |
Outputs
primitive(array)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Axisaxis | int | none | ⇄ port | ||
Shiftshift | int | none | ⇄ port |
Used by
No stock template or group uses this node.