Class Chunk
- Namespace
- DotTiled
- Assembly
- DotTiled.dll
Represents part of a tile layer of a map that is infinite.
public class Chunk
- Inheritance
-
Chunk
- Inherited Members
Properties
FlippingFlags
The parsed flipping flags for each tile in the chunk. Appear in the same order as the tiles in the layer in GlobalTileIDs.
public required FlippingFlags[] FlippingFlags { get; set; }
Property Value
GlobalTileIDs
The parsed chunk data, as a list of tile GIDs. To get an actual tile ID, you map it to a local tile ID using the correct tileset. Please refer to the documentation on how to do this.
public required uint[] GlobalTileIDs { get; set; }
Property Value
- uint[]
Height
The height of the chunk in tiles.
public required uint Height { get; set; }
Property Value
Width
The width of the chunk in tiles.
public required uint Width { get; set; }
Property Value
X
The X coordinate of the chunk in tiles.
public required int X { get; set; }
Property Value
Y
The Y coordinate of the chunk in tiles.
public required int Y { get; set; }