public RenderTexture heightmapTexture;
Возвращает текстуру heightmap.
См. TerrainData.UpdateDirtyRegion.