PureBasic - Terrain

Overview

Terrains are outdoor 3D scenes which simulate a realistic natural environment based on pre-calculated 2D maps. They are useful in many cases, for example 3D representations of land, simulation games and more. InitEngine3D() must be called successfully before using the terrain functions. Multiple terrains are supported, with multiple tiles for each terrain, to create really huge landscapes.

Command Index

AddTerrainTexture
BuildTerrain
CreateTerrain
CreateTerrainBody
DefineTerrainTile
FreeTerrain
FreeTerrainBody
GetTerrainTileHeightAtPoint
GetTerrainTileLayerBlend
SaveTerrain
SetTerrainTileHeightAtPoint
SetTerrainTileLayerBlend
SetupTerrains
TerrainHeight
TerrainLocate
TerrainMousePick
TerrainRenderMode
TerrainTileHeightAtPosition
TerrainTileLayerMapSize
TerrainTilePointX
TerrainTilePointY
TerrainTileSize
UpdateTerrain
UpdateTerrainTileLayerBlend

Example

Terrain.pb

Supported OS

All

Reference Manual - Index