TerrainTilePointY()

Syntax

Result = TerrainTilePointY(#Terrain, TileX, TileY, x, y, z)
Description
Returns the 'y' 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 'y' position (in pixels) of the point in the terrain tile.

See Also

CreateTerrain(), DefineTerrainTile()

Supported OS

All

<- TerrainTilePointX() - Terrain Index - TerrainTileSize() ->