Skip to content

Interface: MeshColorInputs ​

Experimental

Inputs of writeColors.

Properties ​

PropertyTypeDescription
alphaArrayLike<number> | nullExperimental
colorColorInputExperimental
domain?readonly [number, number]Experimental
faceColorFloat32Array<ArrayBufferLike> | nullExperimental
intensityArrayLike<number> | nullExperimental
linear?booleanExperimental Write linear colors (three.js materials) instead of sRGB (the Plotly shader).
lut?Uint8Array<ArrayBufferLike>Experimental For three.js materials (linear: true): intensity is mapped on the CPU through this 256-texel RGBA8 LUT, with domain = [cmin, cmax] and reverse.
reverse?booleanExperimental
sourceMeshColorSourceExperimental

Released under the MIT License.