five-on-it / apps/client/src/renderer/level-culling / LevelCulling
Interface: LevelCulling
Defined in: apps/client/src/renderer/level-culling.ts:26
The level's culling: which cells the camera sees.
Properties
candidates
readonlycandidates:number
Defined in: apps/client/src/renderer/level-culling.ts:30
How many candidates the last render was handed (the level's and everything else).
Methods
setView()
setView(
rect):void
Defined in: apps/client/src/renderer/level-culling.ts:28
The rectangle the next render takes the level's candidates from.
Parameters
rect
Returns
void