Skip to content
InterfaceTypes & Utilities@public

DebugEvents

Payload shapes for each debug event type.

ts
export interface DebugEvents

Properties

PropertyModifiersTypeDescription
"pause-change"-{ paused: boolean; }Engine paused/unpaused.
"step-complete"-{ frame: number; updateMs: number; }Emitted after every simulation step.
log-{ color: number; message: string; timestamp: number; }A log message was added.
watch-{ entries: readonly WatchSnapshot[]; }Watch snapshot was taken.

Released under the MIT License.