createGlyphField#colormap¶
Summary¶
createGlyphField#colormap gets or sets the texture/custom colormap used by scalar mode. Assignment affects subsequent scalar-color rendering and emits a "colormap" event.
Syntax¶
GlyphField.colormap: GlyphColormap | Colormap
const value = glyphField.colormap;
glyphField.colormap = "magma";
Returns¶
GlyphColormap | Colormap - Current built-in/custom selection or borrowed Colormap instance.