SCNSceneRenderer
Methods and properties common to the Scnview, Scnlayer, and Scnrenderer classes.
Declaration
protocol SCNSceneRenderer : NSObjectProtocolOverview
You use an instance of one of these classes to display a scene and manage SceneKit’s rendering and animation of the scene’s contents.
Typically, you use the SCNView class to display a scene in a window (or full screen). You can create and configure a SceneKit view programmatically or in Interface Builder. The other renderer classes render SceneKit content in more specialized situations. If your app has a user interface composed of Core Animation layers, you can use the SCNLayer class to render a scene into a layer. If your app uses Metal or OpenGL for other rendering, you can use the SCNRenderer class to render SceneKit content with the same Metal device or OpenGL context.
Use the scene property of the view, layer, or renderer to specify the scene to display.
Topics
Presenting a Scene
Managing Scene Display
pointOfViewautoenablesDefaultLightingisJitteringEnabledshowsStatisticsdebugOptionsrenderingAPISCNDebugOptionsSCNRenderingAPI
Managing Scene Animation Timing
Preloading Renderer Resources
Working With Projected Scene Contents
hitTest(_:options:)SCNHitTestOptionisNode(_:insideFrustumOf:)nodesInsideFrustum(of:)projectPoint(_:)unprojectPoint(_:)