Skip to content

API Function parseSky

github-actions[bot] edited this page Nov 28, 2026 · 4 revisions

Function: parseSky()

function parseSky(input, path?): object;

Defined in: src/engine/sky/skyFormat.ts:187

Read a sky asset. Unknown keys are ignored; bad values read as defaults with a warning. Throws nothing: a file that isn't a sky at all reads as the default sky with an error problem.

Parameters

input

unknown

path?

string = "sky"

Returns

object

problems

problems: SkyProblem[];

settings

settings: SkySettings;

Clone this wiki locally