You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gameobjects/mesh/MeshFactory.js
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -16,22 +16,23 @@ var GameObjectFactory = require('../GameObjectFactory');
16
16
* @webglOnly
17
17
* @since 3.0.0
18
18
*
19
-
* @param {number} x - The horizontal position of this Game Object in the world.
20
-
* @param {number} y - The vertical position of this Game Object in the world.
21
-
* @param {number[]} vertices - An array containing the vertices data for this Mesh.
22
-
* @param {number[]} uv - An array containing the uv data for this Mesh.
23
-
* @param {number[]} colors - An array containing the color data for this Mesh.
24
-
* @param {number[]} alphas - An array containing the alpha data for this Mesh.
25
-
* @param {(string|Phaser.Textures.Texture)} texture - The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.
26
-
* @param {(string|integer)} [frame] - An optional frame from the Texture this Game Object is rendering with.
19
+
* @param {number} [x] - The horizontal position of this Game Object in the world.
20
+
* @param {number} [y] - The vertical position of this Game Object in the world.
21
+
* @param {string|Phaser.Textures.Texture} [texture] - The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.
22
+
* @param {string|integer} [frame] - An optional frame from the Texture this Game Object is rendering with.
23
+
* @param {number[]} [vertices] - An array containing the vertices data for this Mesh.
24
+
* @param {number[]} [uvs] - An array containing the uv data for this Mesh.
25
+
* @param {number[]} [indicies] - An array containing the vertex indicies for this Mesh.
26
+
* @param {number|number[]} [colors=0xffffff] - An array containing the color data for this Mesh.
27
+
* @param {number|number[]} [alphas=1] - An array containing the alpha data for this Mesh.
27
28
*
28
29
* @return {Phaser.GameObjects.Mesh} The Game Object that was created.
0 commit comments