UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.

11 lines (10 loc) 642 B
/** * @typedef {object} Phaser.Types.Geom.Mesh.GenerateGridVertsResult * @since 3.50.0 * * @property {number[]} verts - An array of vertex values in x, y pairs. * @property {number[]} indices - An array of vertex indexes. This array will be empty if the `tile` parameter was `true`. * @property {number[]} uvs - An array of UV values, two per vertex. * @property {number|number[]} [colors=0xffffff] - An array of colors, one per vertex, or a single color value applied to all vertices. * @property {number|number[]} [alphas=1] - An array of alpha values, one per vertex, or a single alpha value applied to all vertices. */