API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classRange
@codexo/exojs-particles / particles / stable
Uniform random number in `[min, max]`. Each `sample()` returns a fresh roll; the bounds are inclusive on both ends (modulo the rounding bias inherent to `Math.random()`).
2
props
1
methods
0
events
Import
import { Range } from '@codexo/exojs-particles' Uniform random number in `[min, max]`. Each `sample()` returns a fresh roll; the bounds are inclusive on both ends (modulo the rounding bias inherent to `Math.random()`).
Constructors 1
new(min: number, max: number): Range Methods 1
sample(): number Properties 2
max: number min: number Source