Enum EnumDistribution
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
The distribution of the random numbers Open in GitHub
[DocumentAsJson]
public enum EnumDistribution
- Extension Methods
Fields
DIRAC = 9Select completely random numbers within avg-var until avg+var only ONCE and then always 0
GAUSSIAN = 2Select random numbers with numbers near avg being the more commonly selected ones, following a gaussian curve
INVERSEGAUSSIAN = 4Select random numbers with numbers near avg being the less commonly selected ones, following an upside down gaussian curve
INVEXP = 6Select random numbers in the form of avg + var, with numbers near avg being preferred
NARROWGAUSSIAN = 3Select random numbers with numbers near avg being the much more commonly selected ones, following a narrow gaussian curve
NARROWINVERSEGAUSSIAN = 5Select random numbers with numbers near avg being the much less commonly selected ones, following an upside down gaussian curve
STRONGERINVEXP = 8Select random numbers in the form of avg + var, with numbers near avg being very strongly preferred
STRONGINVEXP = 7Select random numbers in the form of avg + var, with numbers near avg being strongly preferred
TRIANGLE = 1Select random numbers with numbers near avg being the most commonly selected ones, following a triangle curve
UNIFORM = 0Select completely random numbers within avg-var until avg+var
VERYNARROWGAUSSIAN = 10Select random numbers with numbers near avg being the much much more commonly selected ones, following an even narrower gaussian curve