fanDistances
fanDistances(
origin,radius,rings,rays):Float32Array
Defined in: sdk/src/render/fogOfWar.ts:68
How far one ray from origin goes before a wall stops it, for rays rays evenly round the circle, none longer than radius. A wall that contains
origin stops nothing, as for SightViewer: standing in a bush you see out of it.
Parameters
Section titled “Parameters”origin
Section titled “origin”radius
Section titled “radius”number
readonly SightRing[]
number
Returns
Section titled “Returns”Float32Array