Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MapEditor

The map editor.

Accessible through tiled.mapEditor.

Hierarchy

  • MapEditor

Index

Properties

currentBrush

currentBrush: TileMap

Get or set the currently used tile brush.

currentBrushChanged

currentBrushChanged: Signal<void>

Signal emitted when the current brush has changed.

This signal is also emitted when assigning to currentBrush, so be careful not to cause an infinite loop.

since

1.11.1

Readonly currentMapView

currentMapView: MapView

Access the current map view.

Readonly currentWangColorIndex

currentWangColorIndex: number

Gets the currently selected Wang color index in the "Terrain Sets" view. The value 0 is used to represent the eraser mode, and the first Wang color has index 1.

See also TileLayerWangEdit.

since

1.8

Readonly currentWangColorIndexChanged

currentWangColorIndexChanged: Signal<number>

The signal emitted when currentWangColorIndex changes.

since

1.8

Readonly currentWangSet

currentWangSet: WangSet

Gets the currently selected WangSet in the "Terrain Sets" view.

See also TileLayerWangEdit.

since

1.8

Readonly currentWangSetChanged

currentWangSetChanged: Signal<void>

The signal emitted when currentWangSet changes.

since

1.8

Readonly tilesetsView

tilesetsView: TilesetsView

Access the Tilesets view.

Generated using TypeDoc