DebugConfig
Index
Constructors
constructor
Parameters
engine: Engine<any>
Returns DebugConfig
Properties
publicbody
Body component debug settings
Type declaration
showAll: boolean
showCollisionGroup: boolean
showCollisionType: boolean
showMass: boolean
showMotion: boolean
showSleeping: boolean
publiccamera
Camera debug settings
Type declaration
focusColor: Color
showAll: boolean
showFocus: boolean
showZoom: boolean
publiccollider
publiccolorBlindMode
Correct or simulate color blindness using ColorBlindnessPostProcessor.
publicentity
Entity debug settings
Type declaration
showAll: boolean
showId: boolean
showName: boolean
publicfilter
Filter debug context to named entities or entity ids
Type declaration
ids: number[]
nameQuery: string
useFilter: boolean
publicgraphics
Graphics component debug settings
Type declaration
boundsColor: Color
showAll: boolean
showBounds: boolean
publicisometric
publicmotion
publicphysics
publicstats
Performance statistics
publictilemap
publictransform
Methods
publicuseStandardClock
Switch the current excalibur clock with the StandardClock and return it in the same running state.
This is useful when you need to switch back to normal mode after debugging.
Returns StandardClock
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.