ClampedNormalFloat
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Extends
ClampedNormalFloat extends FloatProvider
.
Implements
ClampedNormalFloat
implements the following interfaces:
Members
Getter
Return Type:
float
Getter
Return Type:
float
static of(mean as float, deviation as float, min as float, max as float) as ClampedNormalFloat
Parameters:
mean: float
Type: float
deviation: float
Type: float
min: float
Type: float
max: float
Type: float
Return Type:
ClampedNormalFloat
sample(random as RandomSource) as float
Parameters:
random: RandomSource
Type: RandomSource
Return Type:
float