five-on-it / apps/client/src/renderer/overhead / createOverheadFade
Function: createOverheadFade()
createOverheadFade(
roofs,occluded?):OverheadFade
Defined in: apps/client/src/renderer/overhead.ts:76
Fades the given roofs (each its own mesh, with the box around it) while the player is under one; occluded says how see-through a roof's building is drawn for hiding the car (1: not).
Parameters
roofs
object[]
occluded?
(roof) => number