Function Camera.unprojectPosition

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

Vector2 unprojectPosition (
  const(Vector3) world_point
) nothrow @nogc const;