Skip to content

DebugOpts

Defined in: packages/threeplay/src/plugins/debug/types.ts:4

Options added to threeplay() by the debug plugin.

optional debug?: boolean

Defined in: packages/threeplay/src/plugins/debug/types.ts:12

Start with the inspector on.


optional debugKey?: string | false

Defined in: packages/threeplay/src/plugins/debug/types.ts:10

Key that toggles the inspector (default "f1"; false disables it). Needs the input plugin (an optional dependency: without it the key does nothing). The browser default of the key is prevented while the canvas has focus (F1 would open help on Windows).