Project mesh center to 2D screen coordinates. Useful for positioning UI elements relative to 3D objects.
The mesh to project
The camera used for projection
The width of the canvas in pixels
The height of the canvas in pixels
The 2D screen coordinates of the mesh center
Project mesh center to 2D screen coordinates. Useful for positioning UI elements relative to 3D objects.