Click or drag to resize

GeneratorGaussianRandomFloat Method

Makes a generator that generates floats with a Gaussian distribution.

Namespace:  Gamelogic.Extensions.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IGenerator<float> GaussianRandomFloat(
	float mean,
	float standardDeviation
)

Parameters

mean
Type: SystemSingle
The mean of the distribution. Values generated will be centered around this point.
standardDeviation
Type: SystemSingle
The standard deviation of the distribution. The bigger this value, the flatter the distribution curve will be.

Return Value

Type: IGeneratorSingle
A new generator.
See Also