TerrainTileSize()

Syntax

Result = TerrainTileSize(#Terrain, TileX, TileY)
Description
Returns the size of the terrain tile.

Parameters

#Terrain The terrain to use.
TileX The tile 'x' index.
TileY The tile 'y' index.

Return value

Returns the size (in pixels) of the terrain tile. As a tile is always square, the size is the width and the height of the tile.

See Also

CreateTerrain(), DefineTerrainTile()

Supported OS

All

<- TerrainTilePointY() - Terrain Index - UpdateTerrain() ->