Array Rotate

Shifts the elements of an array by the specified number of steps to the right and wraps elements from one end to the other. A negative step will shift to the left.

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

array

arrays, bool[]

The array to be modified

steps

int

The number of steps to shift, negative means shift left instead of right

Outputs

Name

Type

Description

Default

array

arrays, bool[]

The modified array