Create GenerateGridVertsResult.js

This commit is contained in:
Richard Davey 2020-10-08 13:23:09 +01:00
parent 20f4e8a66b
commit d09764518d

View file

@ -0,0 +1,10 @@
/**
* @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.
*/