Function Camera.projectLocalRayNormal

Returns a normal vector from the screen point location directed along the camera. Orthogonal cameras are normalized. Perspective cameras account for perspective, screen width/height, etc.

Vector3 projectLocalRayNormal (
  const(Vector2) screen_point
) nothrow @nogc const;