five-on-it / apps/client/src/renderer/night-view / NightStats
Interface: NightStats
Defined in: apps/client/src/renderer/night-view.ts:104
What the night view lit on the last frame, for the tests.
Properties
actorLamps
actorLamps:
number
Defined in: apps/client/src/renderer/night-view.ts:122
The lamps lighting the cars and the people under them now (none without a GPU).
beamCars
beamCars:
number[]
Defined in: apps/client/src/renderer/night-view.ts:118
beams
beams:
number
Defined in: apps/client/src/renderer/night-view.ts:117
Cars whose headlights and tail lights are drawn, and which (their server ids; the player's own among them).
dark
dark:
number
Defined in: apps/client/src/renderer/night-view.ts:106
How dark it was drawn (0 by day).
headlights
headlights:
boolean
Defined in: apps/client/src/renderer/night-view.ts:120
Whether the player's headlights are on.
lampHeads
lampHeads:
number
Defined in: apps/client/src/renderer/night-view.ts:110
The halos at the lit lamps' heads.
lampsOut
lampsOut:
number
Defined in: apps/client/src/renderer/night-view.ts:112
Street lamps out: knocked down.
pools
pools:
number
Defined in: apps/client/src/renderer/night-view.ts:108
Street lamps lit, each with its pool of light on the ground.
spills
spills:
number
Defined in: apps/client/src/renderer/night-view.ts:115
windows
windows:
number
Defined in: apps/client/src/renderer/night-view.ts:114
Windows lit, and the patches of their light on the ground.