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

colorSwitchField

beta

Switches or fades between a list of colors based on an index field.

Parameters

  • Extend:
    • Clamp:
    • Loop:
    • Zig-Zag:
  • Blend Indices:
  • Offset:
  • Count:
  • Color 1:
  • Color 2:
  • Color 3:
  • Color 4:
  • Color 5:
  • Color 6:
  • Color 7:
  • Color 8:
  • Index Mode:
    • Index (0 .. N-1):
    • Index (1 .. N):
    • Normalized (0 .. 1):

Inputs

  • definition_in: (required)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext
    • Return Types: float

Images