Documentation / Node reference / code nodes
code/ViewDirection
Outputs the direction from the surface to the camera.
Vector
Outputs the camera position minus the surface position, not of length 1. Unwired inputs use the camera and the position being shaded. It works in materials only.
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.