Inheritance
System.Object
TerrainToolboxLayer
public class TerrainToolboxLayer
Methods
Declaration
public static void AddLayersToTerrain(TerrainData terrainData, List<TerrainLayer> layers, bool clearExisting)
Parameters
Type |
Name |
Description |
TerrainData |
terrainData |
|
System.Collections.Generic.List<TerrainLayer> |
layers |
|
System.Boolean |
clearExisting |
|
Declaration
public static void AddLayerToTerrain(TerrainData terrainData, TerrainLayer inputLayer)
Parameters
Type |
Name |
Description |
TerrainData |
terrainData |
|
TerrainLayer |
inputLayer |
|
Declaration
public static void CopyTerrainLayers(Terrain fromTerrain, Terrain toTerrain)
Parameters
Type |
Name |
Description |
Terrain |
fromTerrain |
|
Terrain |
toTerrain |
|
Declaration
public static void RemoveAllLayers(TerrainData terrainData)
Parameters
Type |
Name |
Description |
TerrainData |
terrainData |
|
Declaration
public static void RemoveLayerFromTerrain(TerrainData terrainData, int index)
Parameters
Type |
Name |
Description |
TerrainData |
terrainData |
|
System.Int32 |
index |
|