Class: Terrain
Lua
C++
Edit

Terrain:GetLayerSlopeConstraints

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 angle, maximum angle, and slope transition values.

Copyright © 2024 Ultra Software.
All rights reserved.