Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

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.

Parameter Type
blockMap Entity
region? CellRegion

Float32Array