TilemapLegendCell
Since next
A tilemap legend entry that draws a tile mirrored and turned, not as cut.
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
tile | number | yes | The tile index of the tileset, a whole number from 0, as a plain legend entry. | ||
flipX | boolean | no | false | Default false. True: the tile is mirrored left to right. | |
flipY | boolean | no | false | Default false. True: the tile is mirrored top to bottom. | |
rot | number | no | Degrees clockwise, 0, 90, 180 or 270 (tilemap-invalid for any other), default 0, applied after the flips. The tile's texels are turned within the cell, so on a non-square tile a quarter turn stretches them to the cell. |