EditorIdle beta
Class of @v12-engine/editor
ts
export declare class EditorIdleWhen the editor is idle, and what it does then (EditorClient.idle): told of each change (wake), checked each frame (check). idle says whether it is now
Members
constructor
ts
constructor(host: IdleHost);Constructs a new instance of the EditorIdle class
check
ts
check(): void;After a frame: idle once nothing happened for a while, as the rule says
dispose
ts
dispose(): void;Stops the render loop and takes off the page's listeners
idle
ts
get idle(): boolean;Whether the editor is idle now: drawing slowly, or not at all
start
ts
start(): void;Starts drawing: the render loop
wake
ts
wake(): void;Something happened (a hand on the page, a change, the camera moved): drawn as always again, from now