public ProceduralParameters(SurfaceGenerator surfaceGenerator, ModelBuilder builder) { if (surfaceGenerator == null) throw new ArgumentNullException("surfaceGenerator"); if (builder == null) throw new ArgumentNullException("builder"); Builder = builder; SurfaceGenerator = surfaceGenerator; TexelGenerator = BasicTexelGeneratorValue; }
public ProceduralParameters(SimpleSurfaceGenerator surfaceGenerator, ModelBuilder builder) : this(Convert(surfaceGenerator), builder) { }