setRandomGenerator( randomFunction ) {

		this.randomFunction = randomFunction;
		return this;

	}
Allows to set a custom random number generator. Default is `Math.random()`.

@param {Function} randomFunction - A random number generator.
@return {MeshSurfaceSampler} A reference to this sampler.