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.3.420.0 (24.3.420.0)
Syntax public short GetHeight(
uint index
)
Public Function GetHeight (
index As UInteger
) As Short
public:
short GetHeight(
unsigned int index
)
member GetHeight :
index : uint32 -> int16
Parameters
- index
- Type: SystemUInt32
The index of the vertex.
Return Value
Type:
Int16The height of the vertex.
See Also