public void ResetHeightMap() { modifiedTerrainData.SetHeights(0, 0, QuestryTerrainUtils.ConstructZeroHeightMap(modifiedTerrainData.heightmapResolution)); }
public void LoadHeightMapFromTexture() { modifiedTerrainData.SetHeights(0, 0, QuestryTerrainUtils.ConvertGrayScaleTextureToHeightMap(heightMapImage, modifiedTerrainData.heightmapResolution, heightMapScale)); }