Table of Contents

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

FlippingFlags[]

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

uint

Width

The width of the chunk in tiles.

public required uint Width { get; set; }

Property Value

uint

X

The X coordinate of the chunk in tiles.

public required int X { get; set; }

Property Value

int

Y

The Y coordinate of the chunk in tiles.

public required int Y { get; set; }

Property Value

int