computeStreaming
computeStreaming(
cells,focusX,focusY,loadRadius,unloadRadius,active):StreamDecision
Defined in: sceneStreaming.ts:38
Decide which cells cross the load/unload thresholds this tick. A cell becomes
active when its edge is within loadRadius; an active cell deactivates only
once its edge passes unloadRadius (hysteresis). Cells inside the band keep
their current state. Pure.
Parameters
Section titled “Parameters”readonly StreamCell[]
focusX
Section titled “focusX”number
focusY
Section titled “focusY”number
loadRadius
Section titled “loadRadius”number
unloadRadius
Section titled “unloadRadius”number
active
Section titled “active”ReadonlySet<string>