class QuadraticNoise

A noise generator with quadratic spectrum.

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

Inheritance

class QuadraticNoise : NoiseGenerator

Constructors

QuadraticNoise ()Constructs a new quadratic noise generator.

Methods

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

Reference

method QuadraticNoise ()

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