Skip to content

DaylightLook beta ​

Interface of @v12-engine/client

ts
export interface DaylightLook

The colours of the sky and the mist by the hour (GameView.world.daylight), where the map says nothing of them: a game's own, or the client's preset (DAYLIGHT_COLORS). A game that gives none keeps its sky and mist as they are at any hour

Members ​

mist ​

ts
mist?: (hour: number, day: DayCycle) => Rgb;

The mist's colour at an hour: the mist by distance's and the mist with a place's, where the map gives them none

sky ​

ts
sky?: (hour: number, day: DayCycle) => Rgb;

The sky's colour at an hour: what the dome is drawn in, where the map has clouds and no sky of its own