Class: Terrain
Lua
C++
Edit

Terrain:GetElevation

This method gets the height of the terrain, in global coordinates.

Syntax

Parameter Description
coord, (tx, ty) terrain coordinate
position, (x, y, z) global position

Returns

Returns the global height of the terrain above the terrain position at the specified coordinate, or the interpolated height at the specified global position.

Copyright © 2024 Ultra Software.
All rights reserved.