Class: ColorMap

WebGLModule.ColorMap

Colormap shader data reference must contain one index to the data to render using colormap strategy expected parameters: index - unique number in the compiled shader supported parameters: color - can be a ColorMap, number of steps = x threshold - must be an AdvancedSlider, default values array (pipes) = x-1, mask array size = x, incorrect values are changed to reflect the color steps connect - a boolean switch to enable/disable advanced slider mapping to break values, enabled for type==="colormap" only colors shader will read underlying data (red component) and output to canvas defined color with opacity based on the data (0.0 => transparent, 1.0 => opaque) supports thresholding - outputs color on areas above certain value mapping html input slider 0-100 to .0-1.0