Contents

backgroundColor

The canvas’s background color.

Declaration

var backgroundColor: CGColor?

Discussion

Specify a color to have RealityKit render the entire canvas in a color. The specified value may include an alpha component. By default, the canvas is transparent.