Camera.projectPosition

Returns the 3D point in world space that maps to the given 2D coordinate in the Viewport rectangle on a plane that is the given z_depth distance into the scene away from the camera.

struct Camera
@nogc nothrow const
Vector3
projectPosition
(
in Vector2 screen_point
,
in double z_depth
)

Meta