Instance Property

pointOfView

The node from which the scene’s contents are viewed for rendering.

Required.

Declaration

@property(nonatomic, retain) SCNNode *pointOfView;

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 SCNLightTypeSpot) 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.

See Also

Managing Scene Display

autoenablesDefaultLighting

A Boolean value that determines whether SceneKit automatically adds lights to a scene.

Required.

jitteringEnabled

A Boolean value that determines whether SceneKit applies jittering to reduce aliasing artifacts.

Required.

showsStatistics

A Boolean value that determines whether SceneKit displays rendering performance statistics in an accessory view.

Required.

debugOptions

Options for drawing overlay content in a scene that can aid debugging.

Required.

renderingAPI

The graphics technology SceneKit uses to render the scene.

Required.

SCNDebugOptions

Options for drawing overlays with SceneKit content that can aid in debugging, used with the debugOptions property.

SCNRenderingAPI

Options for choosing the graphics technology for an SCNView object (or other SceneKit renderer) to use for drawing its contents. Used by the renderingAPI property and the SCNPreferredRenderingAPIKey option when initializing an SCNView object.