Skip to content

Function: fillLineColors() ​

ts
function fillLineColors(layout, color, out): void;

Experimental

Fill per-stream-vertex RGBA colors from per-input-point colors (sentinels get zeros).

Parameters ​

ParameterType
layoutPick<LineLayout, "vertexCount" | "source"> & object
colorColorInput
outFloat32Array

Returns ​

void

Released under the MIT License.