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;
 }
示例#2
0
 public GDebugTerrainedLodNodeTerrainCreator(
     Ring1PaintingOrderGrabber orderGrabber, GameObject parentObject,
     UnityCoordsCalculator coordsCalculator, MeshGeneratorUTProxy meshGeneratorUtProxy,
     ITerrainShapeDb terrainShapeDb, GRingGroundShapeProviderConfiguration groundShapeProviderConfiguration,
     GRingSpotUpdater gRingSpotUpdater = null)
 {
     _orderGrabber                     = orderGrabber;
     _parentObject                     = parentObject;
     _coordsCalculator                 = coordsCalculator;
     _meshGeneratorUtProxy             = meshGeneratorUtProxy;
     _terrainShapeDb                   = terrainShapeDb;
     _groundShapeProviderConfiguration = groundShapeProviderConfiguration;
     _gRingSpotUpdater                 = gRingSpotUpdater;
 }
示例#3
0
 public GRingGroundShapeProvider(
     ITerrainShapeDb terrainShapeDb,
     FlatLod flatLod,
     MyRectangle terrainDetailAreaPosition,
     GRingSpotUpdater spotUpdater,
     GRingGroundShapeProviderConfiguration configuration
     )
 {
     _terrainShapeDb            = terrainShapeDb;
     _flatLod                   = flatLod;
     _terrainDetailAreaPosition = terrainDetailAreaPosition;
     _spotUpdater               = spotUpdater;
     _configuration             = configuration;
 }
 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;
 }
示例#5
0
 public GroundShapeToken(GRingSpotUpdater updater, GroundShapeInfo info, UpdatedTerrainTextures textures)
 {
     _updater  = updater;
     _info     = info;
     _textures = textures;
 }