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 | true if all colors have a transparency greater than zero, or false if they all have a transparency of zero. |
Returns - void
Defined in
- core/common/src/FeatureIndex.ts Line 80
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.