Skip to main content Link Menu Expand (external link) Document Search Copy Copied
layoutGrid

layoutGrid

Slices space into a grid, and places each input in a separate cell.

This is useful to see several different variations of a shape. The input shapes are shifted to the center of their cell.

Parameters

  • Enable:
  • Layout: How to arrange the cells.
    • Row: Slice space into cells horizontally. The first cell extends off infinitely to the left and the last cell extends infinitely off to the right.
    • Column: Slice space into cells vertically.
    • Grid Rows: Slice space into 4 cells arranged in a grid.
  • Plane: The plane along which to arrange the cells.
    • YZ:
    • ZX:
    • XY:
  • Size: The size of the cells
  • Pre Scale: Scales the inputs within their cells.

Inputs

  • definition_in_1: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • definition_in_2: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • definition_in_3: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • definition_in_4: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle