iterami/Docs.htm/common HTM Projects/webgl.js/webgl_vertexcolorarray(args)
- Returns an array containing RGBA values normalized to between 0 and 1 for each vertex.
- If the colors arg has only 4 numbers, then that color will be used for all vertices.
- If the colors arg is empty, then a random color will be used.
colors
| []
| array of numbers
|
vertexcount
| 4
| number
|