Instance Property

antialiasingMode

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

Declaration

@property(nonatomic) SCNAntialiasingMode antialiasingMode;

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 SCNAntialiasingModeMultisampling4X. In iOS, the default mode is SCNAntialiasingModeNone.

See Also

Configuring a View

backgroundColor

The background color of the view.

preferredFramesPerSecond

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

rendersContinuously

A Boolean value that determines whether the view always renders at its preferred frame rate or only when its visible content changes.

SCNAntialiasingMode

Modes for antialiased rendering of the view’s scene, used by the SCNView property.