Method SetTile
SetTile(int, TileRotation, int, SettleFlags)
Changes the tile at this location to a new tile.
public void SetTile(int tileId, TileRotation rotation, int height = 0, SettleFlags flags = SettleFlags.RecomputeLighting)
Parameters
tileIdintThe new tile to apply.
rotationTileRotationHow the tile should be rotated.
heightintThe height of the tile.
flagsSettleFlagsAdditional flags/behaviours to run after the tile is updated.