MapData.getTileset

Fetch a tileset by its name. No check for layers with duplicate names is performed. Throws if no tileset has a matching name (case-sensitive).

  1. auto getTileset(string name)
    struct MapData
    getTileset
    (
    string name
    )
  2. auto getTileset(TiledGid gid)

Parameters

name
Type: string

name of tileset to find

Return Value

Type: auto

Tileset matching name

Meta