This version of Unity is unsupported.

Terrain.GetActiveTerrains

Declaration

public static void GetActiveTerrains(List<Terrain> terrainList);

Parameters

activeTerrainsList A List of Terrains this function populates with the active Terrains in the Scene.

Description

Populates a List of Terrains with the active Terrains in the Scene.

This function differs from Terrain.activeTerrains in that it gives you control of memory allocation. See Also: Terrain.activeTerrains.