Instance Property

backgroundColor

The background color of the view.

Declaration

@property(nonatomic, copy) NSColor *backgroundColor;

Discussion

SceneKit displays this color behind the contents of the rendered scene. If the scene contents fill the view or if the scene provides its own background using the background property, the view’s background color may not be visible.

This property’s value must be a color that can be represented using RGBA components.

See Also

Configuring a 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.

antialiasingMode

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

SCNAntialiasingMode

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