TileMapData Constructors
Initializes a map by copying its entries.
c#
public TileMapData(int width, int height, TileMapEntry[] entries);Parameters
| Name | Type | Description |
|---|---|---|
width | Int32 | The positive width in entries, not pixels. |
height | Int32 | The positive height in entries, not pixels. |
entries | TileMapEntry[] | Exactly width times height row-major entries. |