Skip to main content
Skip to main content

projectToCamera

projectToCamera

Description

Project world position to screen for specified camera

Definition

projectToCamera(entityId cameraId, float aspectRatio, float x, float y, float z)

Arguments

entityIdcameraIdcameraId
floataspectRatio
floatx
floaty
floatz

Return Values

floatxscreenspace x coordinate
floatyscreenspace y coordinate
floatzdepth