as検索しても一箇所しかなかったんだが、これか?
heightMapInfo = terrain.Tag as HeightMapInfo;

これのことなら、ObjectをHeightMapInfoにダウンキャストしてるだけ。