initNonUniform Method
Set the per-vertex colors.
initNonUniform(colors: Uint32Array, indices: number[], hasAlpha: boolean): void
| Parameter | Type | Description | 
|---|---|---|
| colors | Uint32Array | See NonUniformColor.colors. | 
| indices | number[] | See indices. | 
| hasAlpha | boolean | trueif allcolorshave a transparency greater than zero, orfalseif they all have a transparency of zero. | 
Returns - void
Defined in
- core/common/src/FeatureIndex.ts Line 80
Last Updated: 30 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.