|
@@ -23,7 +23,7 @@
|
|
|
<return type="float">
|
|
|
</return>
|
|
|
<description>
|
|
|
- Generates a pseudo-random float between [code]0.0[/code] and [code]1.0[/code] (inclusive).
|
|
|
+ Returns a pseudo-random float between [code]0.0[/code] and [code]1.0[/code] (inclusive).
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="randf_range">
|
|
@@ -34,7 +34,7 @@
|
|
|
<argument index="1" name="to" type="float">
|
|
|
</argument>
|
|
|
<description>
|
|
|
- Generates a pseudo-random float between [code]from[/code] and [code]to[/code] (inclusive).
|
|
|
+ Returns a pseudo-random float between [code]from[/code] and [code]to[/code] (inclusive).
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="randfn">
|
|
@@ -45,14 +45,14 @@
|
|
|
<argument index="1" name="deviation" type="float" default="1.0">
|
|
|
</argument>
|
|
|
<description>
|
|
|
- Generates a [url=https://en.wikipedia.org/wiki/Normal_distribution]normally-distributed[/url] pseudo-random number, using Box-Muller transform with the specified [code]mean[/code] and a standard [code]deviation[/code]. This is also called Gaussian distribution.
|
|
|
+ Returns a [url=https://en.wikipedia.org/wiki/Normal_distribution]normally-distributed[/url] pseudo-random number, using Box-Muller transform with the specified [code]mean[/code] and a standard [code]deviation[/code]. This is also called Gaussian distribution.
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="randi">
|
|
|
<return type="int">
|
|
|
</return>
|
|
|
<description>
|
|
|
- Generates a pseudo-random 32-bit unsigned integer between [code]0[/code] and [code]4294967295[/code] (inclusive).
|
|
|
+ Returns a pseudo-random 32-bit unsigned integer between [code]0[/code] and [code]4294967295[/code] (inclusive).
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="randi_range">
|
|
@@ -63,14 +63,14 @@
|
|
|
<argument index="1" name="to" type="int">
|
|
|
</argument>
|
|
|
<description>
|
|
|
- Generates a pseudo-random 32-bit signed integer between [code]from[/code] and [code]to[/code] (inclusive).
|
|
|
+ Returns a pseudo-random 32-bit signed integer between [code]from[/code] and [code]to[/code] (inclusive).
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="randomize">
|
|
|
<return type="void">
|
|
|
</return>
|
|
|
<description>
|
|
|
- Setups a time-based seed to generator.
|
|
|
+ Setups a time-based seed to for this [RandomNumberGenerator] instance. Unlike the [@GlobalScope] random number generation functions, different [RandomNumberGenerator] instances can use different seeds.
|
|
|
</description>
|
|
|
</method>
|
|
|
</methods>
|