readBlockTriangles
readBlockTriangles(
blockMap,region?):Float32Array
The walkable tops of the block map blockMap in region, the whole
map where left out, as world triangles, three numbers a corner: each
top, a stair’s four treads, and a water cell’s bed. A void cell, a
blocked cell, which its wall covers, and a water surface give none.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
blockMap |
Entity |
region? |
CellRegion |
Returns
Section titled “Returns”Float32Array