Scene constructor

Scene()

Implementation

Scene() {
  // Kicked off, not awaited: rendering is gated on isReadyToRender, and a
  // SceneView shows its loadingBuilder until then. initializeStaticResources
  // completes with its error for callers that do await it, and has already
  // logged the failure by the time this handler runs, so this only keeps an
  // unawaited future from being reported a second time as an unhandled error.
  initializeStaticResources().ignore();
  root.registerAsRoot(this);
}