1681-engine / index / LightLayerOptions
Interface: LightLayerOptions ​
Defined in: src/light/LightLayer.ts:20
Properties ​
ambient? ​
ts
optional ambient?: number;Defined in: src/light/LightLayer.ts:22
Colour of the dark (default deep blue).
darkness? ​
ts
optional darkness?: number;Defined in: src/light/LightLayer.ts:24
0 no dark at all, 1 black where nothing is lit (default 0.85).
squash? ​
ts
optional squash?: number;Defined in: src/light/LightLayer.ts:28
A light's height over its width: the ground is seen at a slant (default 1, round; a 3/4 view ≈ 0.85).
tint? ​
ts
optional tint?: number;Defined in: src/light/LightLayer.ts:26
How strongly lights tint what they light, 0–1 (default 0.35).