name | type | arguments | Default | description |
---|---|---|---|---|
verts | Array.<number> |
An array of vertex values in x, y pairs. |
||
indices | Array.<number> |
An array of vertex indexes. This array will be empty if the |
||
uvs | Array.<number> |
An array of UV values, two per vertex. |
||
colors | number | Array.<number> | <optional> | 0xffffff |
An array of colors, one per vertex, or a single color value applied to all vertices. |
alphas | number | Array.<number> | <optional> | 1 |
An array of alpha values, one per vertex, or a single alpha value applied to all vertices. |