Skip to content

MapLamps beta ​

Interface of @v12-engine/client

ts
export interface MapLamps

How every light besides the sun goes on a map: the map's own, the models', the game's (MapEnvironment.lamps)

Members ​

brightness ​

ts
brightness?: number;

All of them brighter or dimmer: 1 as they say (when left out)

from ​

ts
from?: number;

How dark it is, 0..1, when a light that is on at night starts to come up (0.25), and when it is fully on (0.75)

full ​

ts
full?: number;

How dark it is, 0..1, when lights fully come on; 0.75 when left out