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

useLandscapeLevel

useLandscapeLevel(): Readonly<{ backdrop?: string; camera?: { fov?: number; maxZoom?: number; minZoom?: number; pitch?: number; }; hour?: number; interior?: boolean; weather?: string; }> | undefined

The nearest Landscape’s level settings as they stand: its map file’s, with the map builder’s edits over them, again each time they change, or undefined where its map names none. A piece that draws outdoors alone, such as a kit’s scenery past the map, reads its interior.

Readonly<{ backdrop?: string; camera?: { fov?: number; maxZoom?: number; minZoom?: number; pitch?: number; }; hour?: number; interior?: boolean; weather?: string; }> | undefined