This version of Unity is unsupported.

TerrainData.heightmapTexture

public RenderTexture heightmapTexture;

Description

Returns the heightmap texture.

See TerrainData.UpdateDirtyRegion.