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