Class ClampedSimplexNoise
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
Perlin noise of supplied amplitude and frequency. The resulting value is clamped to 0...1
public class ClampedSimplexNoise
- Inheritance
-
ClampedSimplexNoise
- Inherited Members
- Extension Methods
Constructors
ClampedSimplexNoise(double[], double[], long)
public ClampedSimplexNoise(double[] amplitudes, double[] frequencies, long seed)
Parameters
Fields
amplitudes
public double[] amplitudes
Field Value
- double[]
frequencies
public double[] frequencies
Field Value
- double[]
octaves
public SimplexNoiseOctave[] octaves
Field Value
Methods
Clone()
public ClampedSimplexNoise Clone()
Returns
Noise(double, double, double)
public virtual double Noise(double x, double y, double offset = 0)