class GaussianNoise

Generates an approximation of gaussian noise.

This object can be used alone, or passed into the constructor of a Random object for additional functionality.

Inheritance

class GaussianNoise : NoiseGenerator

Constructors

GaussianNoise ()Constructs a new gaussian noise generator.

Methods

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

Reference

method GaussianNoise ()

Constructs a new gaussian 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.