Skip to content

EditorSceneInfo beta ​

Interface of @v12-engine/editor

ts
export interface EditorSceneInfo

A scene of the app the editor is a scene of (EditorOptions.scenes): what it is, and what of the game it shows, which the Project panel opens in a tab of the editor

Members ​

cinematic ​

ts
cinematic?: string;

The cinematic it is

id ​

ts
id: string;

The scene's id, which the Project panel and EditorOptions.scenes name it by

kind ​

ts
kind: 'menu' | 'game' | 'editor' | 'screen';

What the scene is: a menu, a game, the editor or a screen

map ​

ts
map?: string;

The map file it plays

name ​

ts
name: string;

What the scene is called in the Project panel