Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

findLiveWeatherProblem

findLiveWeatherProblem(where, layer): string | undefined

What is wrong with a layer of weather, or nothing, naming where: a multiplier below 0, a share outside 0 to 1, or a number that is not finite. A preset, a scene’s weather and setLightingWeather are checked by it, since a type cannot hold a number’s range.

Parameter Type
where string
layer Readonly<Partial<LiveWeather>>

string | undefined