TerrainTilePointX()

Syntax

Result = TerrainTilePointX(#Terrain, TileX, TileY, x, y, z)
Description
Returns the 'x' position of the point in the terrain tile.

Parameters

#Terrain The terrain to use.
TileX The tile 'x' index.
TileY The tile 'y' index.
x, y, z The position of the point in the world (in world unit).

Return value

Returns 'x' position (in pixels) of the point in the terrain tile.

See Also

CreateTerrain(), DefineTerrainTile()

Supported OS

All

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