Version: 2022.3

Terrain.GetActiveTerrains

切换到手册
public static void GetActiveTerrains (List<Terrain> terrainList);

参数

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

描述

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.