public NoiseLayer(int seed, NoiseStackSettings.NoiseLayer noiseLayerSettings) { noise = new WarpedNoise(seed, noiseLayerSettings.noiseSettings, noiseLayerSettings.noiseWarpSettings); mask = noiseLayerSettings.maskSettings != null ? new WarpedNoise(seed * 107, noiseLayerSettings.maskSettings, noiseLayerSettings.maskWarpSettings) : (WarpedNoise?)null; }
public NoiseLayer(int seed, NoiseStackSettings.NoiseSettings layerSettings) { noise = new WarpedNoise(seed, layerSettings); mask = null; }