File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -478,7 +478,8 @@ The Mesh Game Object has been rewritten from scratch in v3.50 with a lot of chan
478478* ` Mesh.panX ` is a new function that will translate the view position of the Mesh on the x axis.
479479* ` Mesh.panY ` is a new function that will translate the view position of the Mesh on the y axis.
480480* ` Mesh.panZ ` is a new function that will translate the view position of the Mesh on the z axis.
481- * ` Mesh.updateProjectionMatrix ` is a new method that allows you to set the projection matrix based on the given size, fov, near and far values.
481+ * ` Mesh.setPerspective ` is a new method that allows you to set a perspective projection matrix based on the given dimensions, fov, near and far values.
482+ * ` Mesh.setOrtho ` is a new method that allows you to set an orthographic projection matrix based on the given scale, near and far values.
482483* ` Mesh.clear ` is a new method that will destroy all Faces and Vertices and clear the Mesh.
483484* ` Mesh.depthSort ` is a new method that will run a depth sort across all Faces in the Mesh by sorting them based on their average depth.
484485* ` Mesh.addVertex ` is a new method that allows you to add a new single Vertex into the Mesh.
You can’t perform that action at this time.
0 commit comments