Table of Contents

Enum EnumDistribution

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

The distribution of the random numbers

public enum EnumDistribution
Extension Methods

Fields

DIRAC = 9

Select completely random numbers within avg-var until avg+var only ONCE and then always 0

GAUSSIAN = 2

Select random numbers with numbers near avg being the more commonly selected ones, following a gaussian curve

INVERSEGAUSSIAN = 4

Select random numbers with numbers near avg being the less commonly selected ones, following an upside down gaussian curve

INVEXP = 6

Select numbers in the form of avg + var, wheras low value of var are preferred

NARROWGAUSSIAN = 3

Select random numbers with numbers near avg being the much more commonly selected ones, following a narrow gaussian curve

NARROWINVERSEGAUSSIAN = 5

Select random numbers with numbers near avg being the much less commonly selected ones, following an upside down gaussian curve

STRONGERINVEXP = 8

Select numbers in the form of avg + var, wheras low value of var are very strongly preferred

STRONGINVEXP = 7

Select numbers in the form of avg + var, wheras low value of var are strongly preferred

TRIANGLE = 1

Select random numbers with numbers near avg being the most commonly selected ones, following a triangle curve

UNIFORM = 0

Select completely random numbers within avg-var until avg+var

VERYNARROWGAUSSIAN = 10

Select random numbers with numbers near avg being the much much more commonly selected ones, following an even narrower gaussian curve