class InterpolatedNoise

Generates white noise smoothed by cubic interpolation.

This object can be used alone, or it can be passed into the constructor of the Random class for more functionality.

Inheritance

class InterpolatedNoise : NoiseGenerator

Constructors

InterpolatedNoise ()Constructs a new interpolated noise generator.

Methods

float Random (const float)Returns a new random value from the given seed 'x'.

Reference

method InterpolatedNoise ()

Constructs a new interpolated noise generator.


method float Random (const float x)

Returns a new random value from the given seed 'x'.

When using the same seed, the generator will always return the same random value. The return value range is -1.0 ~ 1.0.