setBackgroundColor method

void setBackgroundColor(
  1. Color value
)

Updates the scene background color.

Implementation

void setBackgroundColor(Color value) {
  if (scene.background.color == value) return;
  scene.background.color = value;
  _contracts.markSceneGeometryChanged();
  _contracts.notifyNow();
}