-
Returns an initializer that provides a random lifespan between min
and max
.
Returns an initializer that provides a velocity in a random direction with the specified
maximum magnitude.
Returns an initializer that provides a velocity in a random direction with the specified
minimum and maximum magnitude.
Returns an initializer that provides a normally distributed random velocity with the
specified mean and standard deviation parameters.
Returns an initializer that provides a normally distributed random velocity with the
specified mean and standard deviation parameters.
Returns an initializer that adjusts the particle's position randomly from its current
location by up to noise
units in both x and y.
Returns an initializer that configures a particle's position in a random region.
Returns an initializer that scales its previously assigned transform by an evenly distributed
random amount within the specified range.
Returns an initializer that provides a uniformly distributed random velocity.
Returns an initializer that provides a uniformly distribted random velocity in the range
minX
to maxX
and similarly for the y direction.
-
A factory to create a new Randoms object.