mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Create GenerateGridVertsResult.js
This commit is contained in:
parent
20f4e8a66b
commit
d09764518d
1 changed files with 10 additions and 0 deletions
10
src/geom/mesh/typedefs/GenerateGridVertsResult.js
Normal file
10
src/geom/mesh/typedefs/GenerateGridVertsResult.js
Normal 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.
|
||||
*/
|
Loading…
Reference in a new issue