File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ var MeshRender = require('./MeshRender');
3030 * @param {Phaser.Scene } scene - The Scene to which this Game Object belongs. A Game Object can only belong to one Scene at a time.
3131 * @param {number } x - The horizontal position of this Game Object in the world.
3232 * @param {number } y - The vertical position of this Game Object in the world.
33- * @param {array } vertices - [description]
34- * @param {array } uv - [description]
35- * @param {array } colors - [description]
36- * @param {array } alphas - [description]
33+ * @param {array } vertices - An array containing the vertices data for this Mesh.
34+ * @param {array } uv - An array containing the uv data for this Mesh.
35+ * @param {array } colors - An array containing the color data for this Mesh.
36+ * @param {array } alphas - An array containing the alpha data for this Mesh.
3737 * @param {string } texture - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager.
3838 * @param {string|integer } [frame] - An optional frame from the Texture this Game Object is rendering with.
3939 */
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ var GameObjectFactory = require('../GameObjectFactory');
1010 * @webglOnly
1111 * @since 3.0.0
1212 *
13+ * @param {number } x - The horizontal position of this Game Object in the world.
14+ * @param {number } y - The vertical position of this Game Object in the world.
15+ * @param {array } vertices - An array containing the vertices data for this Mesh.
16+ * @param {array } uv - An array containing the uv data for this Mesh.
17+ * @param {array } colors - An array containing the color data for this Mesh.
18+ * @param {array } alphas - An array containing the alpha data for this Mesh.
19+ * @param {string } texture - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager.
20+ * @param {string|integer } [frame] - An optional frame from the Texture this Game Object is rendering with.
1321 *
1422 * @return {Phaser.GameObjects.Mesh } The Game Object that was created.
1523 */
You can’t perform that action at this time.
0 commit comments