$setup method

void $setup()

This method is called from the SceneController's ScenePainter's constructor, and sets up the autoUpdateAndRender flag to the value of SceneConfig autoUpdateRender. It also sets the current ScenePainter instance to this instance.

Implementation

void $setup() {
  makeCurrent();

  /// If needed, can be overridden later by the [root].
  autoUpdateAndRender = core.config.autoUpdateRender;
}