跳转到内容

TerrainMode

此内容尚不支持你的语言。

TerrainMode = "edge" | "corner" | "wang"

Defined in: tilemap/tilesetAsset.ts:63

How a terrain’s tiles match their neighbours. edge = 4-bit N/E/S/W peering (16-tile sets, good for ground/walls); corner = the 8-bit “corners and sides” blob (up to 47 tiles, smooth blobby terrain) — both are single-terrain peering masks. wang = the modern corner (Wang) model: each tile assigns a COLOR to each of its 4 corners, so one set blends MANY terrains (grass↔sand↔water) and paints on a half-cell corner grid. See autotile.ts for the resolvers.