LayoutDebug
import type { LayoutDebug } from 'pixi-silk/ui/layout';
The handle layoutDebug returns.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
enabled | boolean | True while the overlay draws. | ui/layout/debug.ts:24 |
Methods#
destroy()#
destroy(): void;
Removes the overlay, the key binding and the pointer listener. The handle is unusable afterwards.
Returns#
void
toggle()#
toggle(): boolean;
Turns the overlay on or off. Returns the new state.
Returns#
boolean