1681-engine / pixel / NightShadeOptions
Interface: NightShadeOptions ​
Defined in: src/pixel/NightShade.ts:5
Properties ​
carriedFrom? ​
optional carriedFrom?: number;Defined in: src/pixel/NightShade.ts:17
The night share below which nothing is carried (default 0.55): at dusk a hole round the feet reads as a spotlight.
carriedLight? ​
optional carriedLight?: number;Defined in: src/pixel/NightShade.ts:15
The radius (world px) of the light a body carries at full night; 0 for none (default 64).
clock ​
clock: DayClock;Defined in: src/pixel/NightShade.ts:7
The day the night follows.
lampScale? ​
optional lampScale?: number;Defined in: src/pixel/NightShade.ts:13
A lamp's hole in the night against the glow it is drawn with (default 1.6: the light reaches past the glow).
tint? ​
optional tint?: number;Defined in: src/pixel/NightShade.ts:9
This place's own night colour, pulled in as the night deepens (tintNight); none keeps the clock's.
tintShare? ​
optional tintShare?: number;Defined in: src/pixel/NightShade.ts:11
How far the tint takes over at full night (default 0.6).