Skip to content

ecsia-monorepo / devtools/src / WorldWatcher

Interface: WorldWatcher

Defined in: devtools/src/watch.ts:19

Methods

tick()

ts
tick(): void;

Defined in: devtools/src/watch.ts:24

Signal a frame boundary: drain the accumulated observer counts + sample state, invoke onFrame with the deltas, then reset the accumulators for the next frame. Call this after each scheduler.update().

Returns

void


dispose()

ts
dispose(): void;

Defined in: devtools/src/watch.ts:26

Tear down every installed observer. Idempotent.

Returns

void

MIT licensed · 0.x, unpublished, experimental.