Click or drag to resize

QuantizedMeshTerrainTileGetHeight Method

Gets the height of the vertex in the tile with the given index. When this value is 0, the vertex's height is equal to the minimum height within the tile, as specified in the tile's header. When this value is 32767, the vertex's height is equal to the maximum height within the tile. For other values, the vertex's height is a linear interpolation between the minimum and maximum heights.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public short GetHeight(
	uint index
)

Parameters

index
Type: SystemUInt32
The index of the vertex.

Return Value

Type: Int16
The height of the vertex.
See Also