Class: Terrain
Lua
C++
Edit

Terrain:AddLayer

This method adds a material layer to the terrain.

Syntax

Parameter Description
material material to apply to the terrain

Returns

Returns the index of the new layer, or the index to any existing layer that uses the specified material.

Copyright © 2024 Ultra Software.
All rights reserved.