Function: writeColors()
ts
function writeColors(c, layout, out?): Float32Array;Experimental
Per-item RGBA colors (straight alpha, per-vertex alpha multiplied in). In the Plotly shader's intensity mode the RGB is unused (white) and only alpha is carried.
Parameters
| Parameter | Type |
|---|---|
c | MeshColorInputs |
layout | MeshLayout |
out | Float32Array |
Returns
Float32Array