fCraft.PerlinNoise3D.PerlinNoise3D C# (CSharp) Method

PerlinNoise3D() public method

public PerlinNoise3D ( [ rand ) : System
rand [
return System
        public PerlinNoise3D( [NotNull] Random rand )
        {
            if ( rand == null )
                throw new ArgumentNullException( "rand" );
            permutation = new int[256];
            p = new int[permutation.Length * 2];
            InitNoiseFunctions( rand );

            // Default values
            Frequency = 0.023f;
            Amplitude = 2.2f;
            Persistence = 0.9f;
            Octaves = 2;
        }