SceneConfig constructor

SceneConfig({
  1. bool rebuildOnHotReload = true,
  2. bool useKeyboard = false,
  3. bool usePointer = false,
  4. bool useTicker = false,
  5. bool isPersistent = false,
  6. bool autoUpdateRender = true,
  7. bool painterWillChange = true,
})

Creates a new SceneConfig instance.

Implementation

SceneConfig({
  this.rebuildOnHotReload = true,
  this.useKeyboard = false,
  this.usePointer = false,
  this.useTicker = false,
  this.isPersistent = false,
  this.autoUpdateRender = true,
  this.painterWillChange = true,
}) {
  if (autoUpdateRender) {
    useTicker = true;
  }
}