GetActiveTerrains(List<Terrain>)
Populates a List of Terrains with the active Terrains in the Scene.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public static void GetActiveTerrains(List<Terrain> terrainList)
Parameters
A List of Terrains this function populates with the active Terrains in the Scene.
Remarks
This function differs from _activeTerrains in that it gives you control of memory allocation. .
Additional Resources: _activeTerrains