Skip to content

Documentation / @debuffjp/tilemap / TileLayerDrawOptions

Interface: TileLayerDrawOptions ​

Defined in: tilemap.ts:72

Properties ​

camera? ​

optional camera?: object

Defined in: tilemap.ts:76

Cull to this camera's view and apply layer parallax. Draw inside draw.withCamera(camera, ...).

height ​

height: number

width ​

width: number

x ​

x: number

y ​

y: number

zoom ​

zoom: number


layers? ​

optional layers?: readonly string[]

Defined in: tilemap.ts:74

Draw only these layers, by name. Default: every visible layer.