Instance Property


The antialiasing mode used for rendering the view’s scene.


var antialiasingMode: SCNAntialiasingMode { get set }


SceneKit can provide antialiasing, which smooths edges in a rendered scene, using a technique called multisampling. Multisampling renders each pixel multiple times and combines the results, creating a higher quality image at a performance cost proportional to the number of samples it uses.

For available values, see SCNView. In macOS, the default mode is multisampling4X. In iOS, the default mode is none.

See Also

Configuring a View

var backgroundColor: NSColor

The background color of the view.

var allowsCameraControl: Bool

A Boolean value that determines whether the user can manipulate the current point of view that is used to render the scene.

var preferredFramesPerSecond: Int

The animation frame rate that the view uses to render its scene.