Class: Terrain
Lua
C++
Edit

Terrain:GetLayerWeight

This method gets all the layers in use on the terrain at the specified coordinate.

Syntax

Parameter Description
layer terrain layer to retrieve information for
coord, (x, y) terrain coordinate

Returns

Returns an array containing all the layer indexes in use at the specified point, sorted from most to least influential.

Copyright © 2024 Ultra Software.
All rights reserved.