Class

SCNLayer

A Core Animation layer that renders a SceneKit scene as its content.

Declaration

@interface SCNLayer : CAOpenGLLayer

Overview

Use this class to integrate 3D content rendered by SceneKit into a user interface composed of Core Animation layers. To provide content for the layer, assign an SCNScene object to its scene property.

Most of the methods and properties you use for working with a SceneKit layer are defined by the SCNSceneRenderer protocol.

Topics

Specifying a Scene

scene

The scene to be displayed in the layer.

Relationships

Inherits From

See Also

Display and Interactivity

SCNSceneRenderer

Methods and properties common to the SCNView, SCNLayer, and SCNRenderer classes.

SCNSceneRendererDelegate

Methods your app can implement to participate in SceneKit’s animation loop or perform additional rendering.

SCNRenderer

A renderer for displaying a SceneKit scene in an existing Metal workflow or OpenGL context.

SCNHitTestResult

Information about a the result of a scene-space or view-space search for scene elements.