sej
    Preparing search index...

    Class AbstractDebugger

    Abstract debugger class for all debuggers.

    Implements

    Index

    Constructors

    Properties

    _enabled: boolean
    _previouslyEnabled: boolean
    domElement: HTMLElement

    The DOM element that the debugger is attached to.

    editor: Editor
    gameStats: GameStats

    The stats instance.

    gui: GUI

    The GUI instance.

    guiFolders: DebugFolders

    The GUI folders.

    params: DebugParams

    The debug parameters.

    renderer: Renderer

    Renderer instance.

    statsGL: Stats

    Accessors

    • get enabled(): boolean

      Whether the debugger is enabled or not. It's always enabled when developing locally.

      Otherwise, set debug=true in localStorage to enable it.

      Returns boolean

    • set enabled(value: boolean): void

      Whether the debugger is enabled or not. It's always enabled when developing locally.

      Otherwise, set debug=true in localStorage to enable it.

      Parameters

      • value: boolean

      Returns void

    Methods

    • Call this on every frame to update the debugger.

      Parameters

      • _delta: number

      Returns void