cameraPosition property

Vector3 cameraPosition
getter/setter pair

The world-space position of the camera rendering the pass. Spot and point shadow maps shared by a frame's views take its screen view's camera, so a render texture shows the shadows the screen view sees.

Implementation

Vector3 cameraPosition;