CameraProjectionX()

Syntax

Result = CameraProjectionX(#Camera, x, y, z)
Description
Returns the 'x' position, in pixels, of a 3D point on the specified #Camera. If the point is outside of the camera current view, it returns -1. This is very useful to map 3D points to 2D screen.

Supported OS

All

<- CameraProjectionMode() - Camera Index - CameraProjectionY() ->