LibNoise.FastTurbulence.FastTurbulence C# (CSharp) Method

FastTurbulence() public method

public FastTurbulence ( IModule sourceModule ) : System
sourceModule IModule
return System
        public FastTurbulence(IModule sourceModule)
        {
            if (sourceModule == null)
                throw new ArgumentNullException();

            SourceModule = sourceModule;

            XDistort = new FastPerlin();
            YDistort = new FastPerlin();
            ZDistort = new FastPerlin();

            Frequency = 1.0;
            Power = 1.0;
            Roughness = 3;
            Seed = 0;
        }