mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Rename the argument tag to param in XML documentation
This commit is contained in:
@@ -27,16 +27,16 @@
|
||||
</method>
|
||||
<method name="randf_range">
|
||||
<return type="float" />
|
||||
<argument index="0" name="from" type="float" />
|
||||
<argument index="1" name="to" type="float" />
|
||||
<param index="0" name="from" type="float" />
|
||||
<param index="1" name="to" type="float" />
|
||||
<description>
|
||||
Returns a pseudo-random float between [code]from[/code] and [code]to[/code] (inclusive).
|
||||
</description>
|
||||
</method>
|
||||
<method name="randfn">
|
||||
<return type="float" />
|
||||
<argument index="0" name="mean" type="float" default="0.0" />
|
||||
<argument index="1" name="deviation" type="float" default="1.0" />
|
||||
<param index="0" name="mean" type="float" default="0.0" />
|
||||
<param index="1" name="deviation" type="float" default="1.0" />
|
||||
<description>
|
||||
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>
|
||||
@@ -49,8 +49,8 @@
|
||||
</method>
|
||||
<method name="randi_range">
|
||||
<return type="int" />
|
||||
<argument index="0" name="from" type="int" />
|
||||
<argument index="1" name="to" type="int" />
|
||||
<param index="0" name="from" type="int" />
|
||||
<param index="1" name="to" type="int" />
|
||||
<description>
|
||||
Returns a pseudo-random 32-bit signed integer between [code]from[/code] and [code]to[/code] (inclusive).
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user