API ModelScene Project3DPointTo2D

Converts a 3 dimensional point into clip space using the model scene camera properties. x, y, z = Project3DPointTo2D(x, y, z)

Arguments

 * x, y, z :

Returns

 * x, y : - Screen-space position as viewed by the model scene camera
 * z : - Depth value for the point

Details

 * This can be used to achieve various effects, from having a frame sit in a specific position on a 3D model that is being rotated/moved, to calculating and drawing 3d quads and triangles using