five-on-it / apps/tools/src/editor-project / sceneDocOfFiles
Function: sceneDocOfFiles()
sceneDocOfFiles(
files,sceneName):Promise<SceneDoc>
Defined in: apps/tools/src/editor-project.ts:455
Reads the files of a scene serialized in memory (serializeEditorScene) back as a scene document, the way readEditorScene reads the folder they would make, so a level built in memory exports to the very level data its scene folder would.
Parameters
files
sceneName
string
Returns
Promise<SceneDoc>