SetTerrainTileHeightAtPoint()

Syntax

SetTerrainTileHeightAtPoint(#Terrain, TileX, TileY, x, y, Height)
Description
Sets the height of the terrain tile at the specified position. The change will not be reflected immediately, UpdateTerrain() has to be called once all the modifications are done.

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 set the terrain height.
Height The new terrain height (in world unit) at the specified position in the tile.

Return value

None.

See Also

CreateTerrain(), GetTerrainTileHeightAtPoint(), UpdateTerrain()

Supported OS

All

<- SaveTerrain() - Terrain Index - SetTerrainTileLayerBlend() ->