public MyTerrain(HeightmapArray heightmapArray, MyTotalHeightmap totalHeightmap, SubmapInfo submapInfo)
 {
     _heightmapArray = heightmapArray;
     _totalHeightmap = totalHeightmap;
     _submapInfo     = submapInfo;
     _terrainObject  = SubmapPlane.CreatePlaneObject(_heightmapArray.HeightmapAsArray).GameObject;
 }
Esempio n. 2
0
 public SubmapInfoAndHeightmapArray(SubmapInfo submapInfo, HeightmapArray heightmapArray)
 {
     SubmapInfo     = submapInfo;
     HeightmapArray = heightmapArray;
 }