pointOfView
The node from which the scene’s contents are viewed for rendering.
Declaration
var pointOfView: SCNNode? { get set }Discussion
Use a node with an SCNCamera instance assigned to its camera property to view a scene. The node provides the position and direction of a virtual camera, and the camera object provides rendering parameters such as field of view and focus.
For debugging lights and shadows, you can also designate a spotlight (an SCNLight object whose type property is spot) as a point of view. In this case, the light’s spotInnerAngle property determines the field of view, and its zNear and zFar properties determine the near and far extents of the region that is visible onscreen (also known as the viewing frustum).
In either case, the direction of view is along the negative z-axis of the node’s local coordinate space.