跳转到内容

tileCellOutline

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

tileCellOutline(p): Vec2Like[]

Defined in: tilemap/tileGeometry.ts:87

The cell outline as offsets around its center (y-up, world units) — the same polygon for every cell of a given layout. Rect (orthogonal), diamond inscribed in the tile box (isometric / staggered), or a Tiled hexagon whose flat edges (length = side) run along the stagger axis (hexagonal). Draw it translated to each tileCellCenter.

TileGridParams

Vec2Like[]