colorSwitchField

field
colorSwitchField
RayTK
v0.40

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

Parameters

Name Description Regular Handling Read-Only Handling
Extend Runtime Semi-Baked
  • Clamp:
  • Loop:
  • Zig-Zag:
Blend Indices Runtime Semi-Baked
Offset Runtime Baked
Count Runtime Baked
Color 1 Runtime Baked
Color 2 Runtime Baked
Color 3 Runtime Baked
Color 4 Runtime Baked
Color 5 Runtime Baked
Color 6 Runtime Baked
Color 7 Runtime Baked
Color 8 Runtime Baked
Index Mode Runtime Semi-Baked
  • Index (0 .. N-1):
  • Index (1 .. N):
  • Normalized (0 .. 1):

Inputs

  • Index Field: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float

Images