GamePerfStatsOptions

Extends: BGE.Debug.PerfStatsOptions

Options for Game.debugPrintPerfStats(): PerfStatsOptions plus these. Every field is optional.

Properties

  • stages (boolean) — Turn on the game canvas renderer's profileStages and include its stage times (default
  • printToConsole (boolean) — Print the stats to the console (default true)
  • onStats (function) — Called with each interval's stats, e.g. to show or send them. m is this options bag.