Unity Products:Amplify Shader Editor/Global Array

From Amplify Creations Wiki
Jump to: navigation, search

Back to Node List

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: Float data type
  • Color: Float4 data type
  • Vector4: Float4 data type
  • Matrix4x4: Float4x4 data type
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

Back to Node List