segmentBlocked
segmentBlocked(
from,to,rings):boolean
Defined in: sdk/src/render/sight.ts:104
Whether the line from from to to runs through a wall. A ring that contains either end blocks nothing for this pair.
Parameters
Section titled “Parameters”readonly SightRing[]
Returns
Section titled “Returns”boolean