Method AddTextureLayer
AddTextureLayer(TerrainLayer, RenderTexture)
Adds one terrain layer and its corresponding weight texture.
public void AddTextureLayer(TerrainLayer desc, RenderTexture texture)
Parameters
descTerrainLayerTerrain layer that the weight texture belongs to.
textureRenderTextureWeight texture for
desc.
Remarks
Layer and weight ordering is significant. Consumers assume both collections stay index-aligned.