UNPKG

@pmndrs/uikit

Version:

Build performant 3D user interfaces with Three.js and yoga.

4 lines (3 loc) 304 B
import type { TypedArray } from 'three'; import type { ColorRepresentation } from '../../utils.js'; export declare function writeColor(target: Array<number> | TypedArray, offset: number, color: ColorRepresentation, opacity: number, onUpdate?: ((start: number, count: number) => void) | undefined): void;