1681-engine / index / blobMask
Function: blobMask() ​
ts
function blobMask(
grid,
x,
y,
options?
): number;Defined in: src/tilemap/autotile.ts:106
The reduced 8-bit blob mask of cell (x, y): one of BLOB47_MASKS.
Parameters ​
| Parameter | Type |
|---|---|
grid | TerrainGrid |
x | number |
y | number |
options | MaskOptions |
Returns ​
number