1.6 KiB
1.6 KiB
Phaser 3.60.0 Change Log
Return to the Change Log index.
Mesh, Vertex and Face New Features
Mesh.setTintis a new method that will set the tint color across all vertices of a Mesh (thanks @rexrainbow)Mesh.tintis a new setter that will set the tint color across all vertices of a Mesh (thanks @rexrainbow)Mesh.clearTintis a new method that will clear the tint from all vertices of a Mesh (thanks @rexrainbow)
Mesh, Vertex and Face Updates
- The
GenerateVertsfunction has a new optional parameterflipUVwhich, if set, will flip the UV texture coordinates (thanks cedarcantab) - The
GenerateVertsfunction no longer errors if the verts and uvs arrays are not the same size andcontainsZis true (thanks cedarcantab) Face.updateis a new method that updates each of the Face vertices. This is now called internally byFace.isInView.Vertex.resizeis a new method that will set the position and then translate the Vertex based on an identity matrix.- The
Vertex.updatemethod now returnsthisto allow it to be chained. Mesh.addVerticeswill now throw a console warning if invalid vertices data is given to the method (thanks @omniowl)Mesh.addVerticesFromObjwill now throw a console warning if invalid vertices data is given to the method (thanks @omniowl)
Return to the Change Log index.
📖 Read the Phaser 3 API Docs 💻 Browse 2000+ Code Examples 🤝 Join the awesome Phaser Discord