Documentation / Node reference / code nodes

code/EquirectDirection

Outputs the direction a point of a panorama image looks at.

Vector

Outputs the direction, of length 1 and with Y up, that a UV of an equirectangular image looks at. Use it to bake a sky or an environment into an image.

Parameters

Name Type What it does
uv Vector2 Position in the image, from 0 to 1.

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.