Unity Products:Amplify Shader Editor/Global Array
From Amplify Creations Wiki
Global Array Node
The Global Array node creates and accesses a global array. Array's type, size and name can be configured via its Type, Array Length and Name respective options.
| Node Parameter | Description | Default Value |
|---|---|---|
| Name | Name of the global array to be created/accessed. | MyGlobalArray |
| Index | Position on the array to be accessed. Only visible if the respective input port is not connected. | 0 |
| ArrayLength | Length of the array to be created. Only visible if the respective input port is not connected. | 1 |
| Type | Type of data the array will contain.
|
Float |
| Range Check | if toggled on, adds additional clamp instruction to prevent out of bounds access to the array. | False |
| Input Port | Description | Type |
|---|---|---|
| Index | Position on the array to be accessed. | Float |
| Array Length | Length of the array to be created. | Float |