Skip to content

API Interface SkyCloudLayer

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

Interface: SkyCloudLayer

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

Properties

altitude

altitude: number;

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

Height of the layer in km: lower layers curve down to the horizon faster.


color

color: string;

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


coverage

coverage: number;

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

How much of the sky is covered, 0–1.


density

density: number;

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

How thick and opaque the clouds are, 0–1.


direction

direction: number;

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

Degrees clockwise from north the wind blows towards.


enabled

enabled: boolean;

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


scale

scale: number;

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

Size of the cloud shapes (larger = bigger clouds).


speed

speed: number;

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

Drift speed (cloud widths per minute, roughly).

Clone this wiki locally