Skip to content

TerrainHeight

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

TerrainHeight

TerrainHeight:Float32 terrain:Int32, terrain_x:Int32, terrain_z:Int32
Parameter Mode Type Default Description
terrain In Int32 required The terrain.
terrain_x In Int32 required
terrain_z In Int32 required

Returns: The height of one grid point of the terrain, from 0 to 1, before the entity's scale is applied. Positions outside the grid are moved to the nearest edge. This reads the points you set with ModifyTerrain; use TerrainY to find the height at any world position.

Description

Not documented yet.

Related Commands

CreateTerrain, LoadTerrain, TerrainDetail, TerrainShading, TerrainSize, TerrainX, TerrainY, TerrainZ

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally