public Noise(Noise noise) { Seed = noise.Seed; Width = noise.Width; Height = noise.Height; Depth = noise.Depth; Frequency = noise.Frequency; Octaves = noise.Octaves; Lacunarity = noise.Lacunarity; Gain = noise.Gain; PerturbanceAmplitude = noise.PerturbanceAmplitude; PerturbanceFrequency = noise.PerturbanceFrequency; OutputStatus = noise.OutputStatus; InterpolationMode = noise.InterpolationMode; FractalMode = noise.FractalMode; Jitter = noise.Jitter; IsFractal = noise.IsFractal; IsPerturbed = noise.IsPerturbed; Index0 = noise.Index0; Index1 = noise.Index1; }
public void SetFractal(FractalModes mode, int octaves, double lacunarity, double gain) { FractalMode = mode; Octaves = octaves; Lacunarity = lacunarity; Gain = gain; }
public void SetFractal(FractalModes mode, int octaves, double lacunarity, double gain) { FractalMode = mode; Octaves = octaves; Lacunarity = lacunarity; Gain = gain; Noise.SetFractalType((FastNoise.FractalType)(int) FractalMode); Noise.SetFractalOctaves(Octaves); Noise.SetFractalLacunarity(Lacunarity); Noise.SetFractalGain(Gain); }