TilemapComponentOptions
Defined in: tilemap/src/TilemapComponent.ts:14
Options for creating a TilemapComponent.
Properties
Section titled “Properties”layer?
Section titled “layer?”
optionallayer?:string
Defined in: tilemap/src/TilemapComponent.ts:22
Render layer name. Default: “default”.
layers?
Section titled “layers?”
optionallayers?:string[]
Defined in: tilemap/src/TilemapComponent.ts:20
Which tile layers to render. Omit to render all.
optionalmap?:TiledMapData
Defined in: tilemap/src/TilemapComponent.ts:16
Parsed Tiled map data (not serializable).
mapKey?
Section titled “mapKey?”
optionalmapKey?:string
Defined in: tilemap/src/TilemapComponent.ts:18
Asset path to the Tiled JSON (serializable, resolved via Assets.get).