Skip to content

API Interface SkyCloudLayer

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

Interface: SkyCloudLayer

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

Properties

altitude

altitude: number;

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

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


color

color: string;

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


coverage

coverage: number;

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

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


density

density: number;

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

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


direction

direction: number;

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

Degrees clockwise from north the wind blows towards.


enabled

enabled: boolean;

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


scale

scale: number;

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

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


speed

speed: number;

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

Drift speed (cloud widths per minute, roughly).

Clone this wiki locally