Camera.projectPosition

Returns the 3D point in worldspace that maps to the given 2D coordinate in the Viewport rectangle.

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

Meta