uniforms
Generates a list of random double values within the specified range.
Return
A list of random double values within the specified range.
Parameters
The number of random double values to generate.
The minimum value (inclusive) of the range. Default is -1.0.
The maximum value (exclusive) of the range. Default is 1.0.
The random number generator to use. Default is Random.Default.
Generates a list of Vector2
instances, each initialized with random values within the specified range.
Return
A list of randomly generated Vector2
instances.
Parameters
The number of Vector2
instances to generate.
The minimum range for the random Vector2
values. Defaults to -ONE
.
The maximum range for the random Vector2
values. Defaults to ONE
.
The random number generator to use. Defaults to Random.Default
.
Generates a list of uniformly distributed random points within a specified rectangular area.
Return
A list of Vector2 objects representing the generated random points.
Parameters
The number of random points to generate.
The rectangular area within which the points will be generated.
The random number generator to use for point generation. Defaults to Random.Default.
Generates a list of uniformly distributed random Vector3
instances.
Return
A list of uniformly distributed random Vector3
instances.
Parameters
The number of Vector3
instances to generate.
The minimum value for each component of the Vector3
. Defaults to -1.0.
The maximum value for each component of the Vector3
. Defaults to 1.0.
The random number generator to use. Defaults to Random.Default
.
Generates a list of uniformly distributed random Vector3
instances.
Return
A list of uniformly distributed random Vector3
instances.
Parameters
The number of Vector3
instances to generate.
The minimum bound for each Vector3
component. Defaults to -ONE
.
The maximum bound for each Vector3
component. Defaults to ONE
.
The random number generator used for generating components. Defaults to Random.Default
.