Parameters for repaintHeatMapColor.

interface RepaintHeatMapColorParams {
    imageData: ImageData;
    indices: IntArrayParam;
    scalars: ArrayLike<number>;
    uvs: ArrayLike<number>;
}

Properties

imageData: ImageData

Output buffer to repaint. Mutated in place; alpha is restored to 255 on every pixel. Width / height define the texture size.

indices: IntArrayParam

Triangle indices (length divisible by 3).

scalars: ArrayLike<number>

Per-vertex scalar field, length = vertexCount.

uvs: ArrayLike<number>

Per-vertex UVs in [0, 1]², length 2 × vertexCount. Same shape paintHeatMap emits — typically copied straight from SceneGeometry.uvsCompressed after the initial paint.