UNPKG

@wonderlandengine/editor-api

Version:

Wonderland Engine's Editor API for plugins - very experimental.

16 lines (15 loc) 441 B
export interface Camera { lookAt(position: [number, number, number], target: [number, number, number]): void; } export interface SceneViewState { camera: Camera; } export interface EditorState { /** `true` if baking is in progress. */ baking: boolean; sceneView: SceneViewState; } declare global { function _wl_internalBinding(moduleName: 'editorState'): EditorState; } export declare const editorState: EditorState;