Class: Terrain
Lua
C++
Edit

Terrain:GetLayerHeightConstraints

This method retrieves the terrain layer's slope constraints at the specified coordinate.

Syntax

Parameter Description
layer layer index to use
coord, (x, y) terrain coordinate

Returns

Returns the minimum elevation, maximum elevation, and height transition values.

Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation