DefineTerrainTile()

Syntax

DefineTerrainTile(#Terrain, TileX, TileY, HeightMap$, FlipX, FlipY)
Description
Defines the content of a tile in the terrain grid.

Parameters

#Terrain The terrain to use.
TileX The tile x index, relative to the center tile of the terrain. The center tile starts to 0,0. The value can be negative.
TileY The tile y index, relative to the center tile of the terrain. The center tile starts to 0,0. The value can be negative.
HeightMap$ The name of the height map image to apply to this tile.
FlipX If sets to #True, the image will be flipped on horizontally. If sets to #False, no horizontal flip will be performed.
FlipY If sets to #True, the image will be flipped on vertically. If sets to #False, no vertical flip will be performed.

Return value

None.

See Also

CreateTerrain()

Supported OS

All

<- CreateTerrainBody() - Terrain Index - FreeTerrain() ->