Contents

backgroundColor

The background color of the view.

Declaration

@NSCopying var backgroundColor: NSColor { get set }

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