Skip to content

five-on-it / apps/client/src/renderer/lit-windows / windowsOf

Function: windowsOf() ​

windowsOf(def, scale?): WindowQuad[]

Defined in: apps/client/src/renderer/lit-windows.ts:229

The windows of a level mesh as a placement scales it (see the module documentation), in a stable order: a window's index in this list is what its light is drawn by.

Parameters ​

def ​

MeshDef

scale? ​

readonly [number, number, number] = ...

Returns ​

WindowQuad[]