Skip to content

TileMapData Constructors ​

Initializes a map by copying its entries.

c#
public TileMapData(int width, int height, TileMapEntry[] entries);

View source

Parameters ​

NameTypeDescription
widthInt32The positive width in entries, not pixels.
heightInt32The positive height in entries, not pixels.
entriesTileMapEntry[]Exactly width times height row-major entries.