API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classVectorRange
@codexo/exojs-particles / particles / stable
Uniform random vector with each axis sampled independently in its own `[min, max]` range. Each `sample()` writes into the provided `out` Vector (or an internal scratch instance when `out` is omitted).
4
props
1
methods
0
events
Import
import { VectorRange } from '@codexo/exojs-particles' Uniform random vector with each axis sampled independently in its own `[min, max]` range. Each `sample()` writes into the provided `out` Vector (or an internal scratch instance when `out` is omitted).
Constructors 1
new(minX: number, maxX: number, minY: number, maxY: number): VectorRange Methods 1
sample(out: Vector): Vector Properties 4
maxX: number maxY: number minX: number minY: number Source