🎉 Welcome to the Mirage Renderer Docs Beta.

Array Nodes
ArrayFill

Array Fill

Creates an array, similar to Array1/Array2 structure, with additional array nest. The additional nest will be FillCount length and filled with lerp values between Array1-Array2.

Inputs

  1. Array1: Lower range of random number (inclusive). If it is scalar and Array2 is an array, calculations will adapt to Array2’s array structure(float, int, Vector2, Vector2Int, Vector3, Vector3Int, Vector4)[]-[][]-[][][]-[][][][]
  2. Array2: Upper range of random number (exclusive). If it is scalar and Array1 is an array, calculations will adapt to Array1’s array structure (float, int, Vector2, Vector2Int, Vector3, Vector3Int, Vector4)[]-[][]-[][][]-[][][][]
  3. FillCount: Number of elements to fill between LowerRange-UpperRange. If scalar (int), applies the same FillCount to all calculations, if array (int), the same structure with

Outputs

  1. Out: Filled array (float, int, Vector2, Vector2Int, Vector3, Vector3Int, Vector4)[]-[][]-[][][]-[][][][]. Additional one nest to the Array1/2

Example

Array fill node example