tModLoader v2024.09
A mod to make and play Terraria mods
Tilemap Struct Reference

Public Member Functions

void ClearEverything ()
 
T[] GetData< T > ()
 

Public Attributes

readonly ushort Height
 
readonly ushort Width
 

Properties

Tile this[DataStructures.Point16 pos] [get]
 
Tile this[int x, int y] [get, set]
 
Tile this[Point pos] [get]
 

Member Function Documentation

◆ GetData< T >()

T[] Tilemap.GetData< T > ( )
Type Constraints
T :unmanaged 
T :ITileData 
T :TileData<T> 
T :data