backgroundColor property

Color? backgroundColor
getter/setter pair

A color composited under the finished image, or null to keep the scene's own alpha.

It sits behind everything the scene drew, untouched by lighting, exposure or tone mapping, the way a widget behind a SceneView does. An opaque color makes every pixel of the target opaque, which a runtime that reads alpha as coverage needs when the scene has no skybox.

Implementation

ui.Color? backgroundColor;