Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SetNeighbors(left: Terrain, top: Terrain, right: Terrain, bottom: Terrain): void;
void SetNeighbors(Terrain left, Terrain top, Terrain right, Terrain bottom);
def SetNeighbors(left as Terrain, top as Terrain, right as Terrain, bottom as Terrain) as void

Description

Lets you setup the connection between neighboring Terrains.

This ensures LOD matches up on neighboring terrains. Note that it is not enough to call this function on one Terrain, you need to set the neighbors of each terrain.