public GCompositeRing2NodeTerrainCreator(
     Ring1PaintingOrderGrabber orderGrabber,
     GameObject parentObject,
     MeshGeneratorUTProxy meshGenerator,
     ITerrainShapeDb terrainShapeDb,
     UnityCoordsCalculator coordsCalculator,
     GRing2PatchesCreatorProxy patchesCreator,
     GRingSpotUpdater spotUpdater,
     HeightArrayWeldingPack weldingPack,
     Ring2PatchStamplingOverseerFinalizer patchStamper,
     GRingGroundShapeProviderConfiguration groundShapeProviderConfiguration,
     GRingTerrainMeshProviderConfiguration terrainMeshProviderConfiguration)
 {
     _orderGrabber     = orderGrabber;
     _parentObject     = parentObject;
     _meshGenerator    = meshGenerator;
     _terrainShapeDb   = terrainShapeDb;
     _coordsCalculator = coordsCalculator;
     _patchesCreator   = patchesCreator;
     _spotUpdater      = spotUpdater;
     _weldingPack      = weldingPack;
     _patchStamper     = patchStamper;
     _groundShapeProviderConfiguration = groundShapeProviderConfiguration;
     _terrainMeshProviderConfiguration = terrainMeshProviderConfiguration;
 }
Beispiel #2
0
 public GRingTerrainMeshProvider(MeshGeneratorUTProxy meshGenerator, FlatLod flatLod,
                                 GRingTerrainMeshProviderConfiguration configuration)
 {
     _meshGenerator = meshGenerator;
     _flatLod       = flatLod;
     _configuration = configuration;
     CalculateMeshResolution();
 }
 public GRing0NodeTerrainCreator(
     Ring1PaintingOrderGrabber orderGrabber,
     GameObject parentObject,
     MeshGeneratorUTProxy meshGenerator,
     ITerrainShapeDb terrainShapeDb,
     UnityCoordsCalculator coordsCalculator, GRingSpotUpdater spotUpdater,
     HeightArrayWeldingPack weldingPack,
     GRingGroundShapeProviderConfiguration groundShapeProviderConfiguration,
     GRingTerrainMeshProviderConfiguration terrainMeshProviderConfiguration)
 {
     _orderGrabber     = orderGrabber;
     _parentObject     = parentObject;
     _meshGenerator    = meshGenerator;
     _terrainShapeDb   = terrainShapeDb;
     _coordsCalculator = coordsCalculator;
     _spotUpdater      = spotUpdater;
     _groundShapeProviderConfiguration = groundShapeProviderConfiguration;
     _terrainMeshProviderConfiguration = terrainMeshProviderConfiguration;
     _weldingPack = weldingPack;
 }