UV From View

Defines UV of the selected faces or vertices by their relative position on the current View window.