Contents

antialiasingMode

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

Declaration

var antialiasingMode: SCNAntialiasingMode { get set }

Discussion

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 SCNAntialiasingMode.multisampling4X. In iOS, the default mode is SCNAntialiasingMode.none.

See Also

Configuring a View