Esempio n. 1
0
 public void RequestMesh(HeightMap heightMap, MeshSettings meshSettings)
 {
     HasRequestedMesh = true;
     ThreadedDataRequester.RequestData(() => MeshGenerator.GenerateTerrainMesh(heightMap.Values, meshSettings, lod), OnMeshDataReceived);
 }
Esempio n. 2
0
 public void Load()
 {
     ThreadedDataRequester.RequestData(() => DataMapGenerator.GenerateDataMap(MeshSettings, HeightMapSettings, BiomeMapSettings, ResourceMapSettings, this), OnMapDataReceived);
 }