Constructs a Mass initializer instance.
Optionalmin: number
The minumum mass for the particle
Optionalmax: number
The maximum mass for the particle
Determines whether to average the mass value
Sets the particle's initial mass.
the particle to initialize the property on
AbstractresetStaticfromCreates a Mass initializer from JSON.
The JSON to construct the instance from.
StaticrequiresDetermines if the initializer requires a WebGL API to be provided to its constructor.
Sets the mass property on initialized particles.