Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Debug

Debug statistics and flags for Excalibur. If polling these values, it would be best to do so on the postupdate event for Engine, after all values have been updated during a frame.

Hierarchy

  • Debug

Implements

Index

Constructors

Properties

Object literals

Constructors

constructor

Properties

colorBlindMode

colorBlindMode: ColorBlindFlags

Correct or simulate color blindness using ColorBlindness post processor.

warning

Will reduce FPS.

Object literals

stats

stats: object

Performance statistics

currFrame

currFrame: FrameStats = new FrameStats()

Current frame statistics. Engine reuses this instance, use FrameStats.clone to copy frame stats. Best accessed on postframe event. See FrameStats

prevFrame

prevFrame: FrameStats = new FrameStats()

Previous frame statistics. Engine reuses this instance, use FrameStats.clone to copy frame stats. Best accessed on preframe event. Best inspected on engine event preframe. See FrameStats