Skip to content

frameView

frameView(map, name): MapView

Defined in: packages/engine/src/gameplay/map/frameView.ts:16

The camera for a name: a views entry as written, a region, a path or a prop framed from 45° at the distance that fits it, or map for the whole ground from above. Throws on a name the map has not got.

Parameter Type
map TerrainMap
name string

MapView