Skip to content

Documentation / @debuffjp/tilemap / ImageRegion

Interface: ImageRegion ​

Defined in: tilemap.ts:15

An image region, e.g. from assets.frame(id) when the tileset image was packed into an atlas.

Properties ​

image ​

image: TextureSource

Defined in: tilemap.ts:16


x ​

x: number

Defined in: tilemap.ts:17


y ​

y: number

Defined in: tilemap.ts:18