GetTerrainTileHeightAtPoint()

Syntax

Result = GetTerrainTileHeightAtPoint(#Terrain, TileX, TileY, x, y)
Description
Returns the height of the terrain tile at the specified position.

Parameters

#Terrain The terrain to use.
TileX The tile 'x' index.
TileY The tile 'y' index.
x, y The position in the tile (in pixels) to get the terrain height.

Return value

Returns the terrain tile height (in world unit) at the specified coordinates.

See Also

CreateTerrain(), SetTerrainTileHeightAtPoint()

Supported OS

All

<- FreeTerrainBody() - Terrain Index - GetTerrainTileLayerBlend() ->