TerrainHeight()

语法

Result = TerrainHeight(#Terrain, x, z)
概要
Gets the terrain height at the specified position in the world.

参数

#Terrain The terrain to use.
x, z The position in the world (in world unit) to get the terrain height.

返回值

Returns the terrain height (in world unit) at the specified position. If the terrain is not found at the specified position, the result will be zero.

参阅

CreateTerrain()

已支持操作系统

所有

<- SetupTerrains() - Terrain Index - TerrainLocate() ->