layoutGrid

layoutGrid

combine
layoutGrid
RayTK
v0.40

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

Name Description Regular Handling Read-Only Handling
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.

Runtime Semi-Baked
  • YZ:
  • ZX:
  • XY:
Size

The size of the cells

Runtime Baked
Pre Scale

Scales the inputs within their cells.

Runtime Baked

Inputs

  • Input 1: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • Input 2: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • Input 3: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • Input 4: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Ray Light Particle