Pinhole projection of direction onto a width x height view with focal length focalPx, or null when it is behind the camera.