summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-12-13 15:12:25 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-12-13 15:12:25 +0100
commitd030c17d5ea1c6e40d8c45a7cffd072242dcb735 (patch)
tree17ba3b4f3d9084e8368bb55223044951005bc00b
parent17c3c64a80b8701886d238d30e70962a8e13b2c6 (diff)
doc: Sync classref with current source
-rw-r--r--doc/classes/CanvasItem.xml2
-rw-r--r--doc/classes/ColorPicker.xml6
-rw-r--r--doc/classes/OS.xml12
-rw-r--r--doc/classes/RandomNumberGenerator.xml28
4 files changed, 22 insertions, 26 deletions
diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml
index 63f82fe2bd..9e62cde019 100644
--- a/doc/classes/CanvasItem.xml
+++ b/doc/classes/CanvasItem.xml
@@ -135,7 +135,7 @@
<method name="draw_multimesh">
<return type="void">
</return>
- <argument index="0" name="mesh" type="MultiMesh">
+ <argument index="0" name="multimesh" type="MultiMesh">
</argument>
<argument index="1" name="texture" type="Texture">
</argument>
diff --git a/doc/classes/ColorPicker.xml b/doc/classes/ColorPicker.xml
index 2659fd8a39..b3a0164704 100644
--- a/doc/classes/ColorPicker.xml
+++ b/doc/classes/ColorPicker.xml
@@ -29,7 +29,7 @@
Remove the given color from the list of color presets of this color picker.
</description>
</method>
- <method name="get_presets">
+ <method name="get_presets" qualifiers="const">
<return type="PoolColorArray">
</return>
<description>
@@ -59,8 +59,6 @@
Emitted when the color is changed.
</description>
</signal>
- </signals>
- <signals>
<signal name="preset_added">
<argument index="0" name="color" type="Color">
</argument>
@@ -68,8 +66,6 @@
Emitted when a preset is added.
</description>
</signal>
- </signals>
- <signals>
<signal name="preset_removed">
<argument index="0" name="color" type="Color">
</argument>
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index 3cca19c6cb..ac865de3cd 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -210,18 +210,18 @@
Returns the path to the current engine executable.
</description>
</method>
- <method name="get_ime_text" qualifiers="const">
- <return type="String">
+ <method name="get_ime_selection" qualifiers="const">
+ <return type="Vector2">
</return>
<description>
- Returns IME intermediate text.
+ Returns IME selection range.
</description>
</method>
- <method name="get_ime_selection" qualifiers="const">
- <return type="Vector2">
+ <method name="get_ime_text" qualifiers="const">
+ <return type="String">
</return>
<description>
- Returns IME selection range.
+ Returns IME intermediate text.
</description>
</method>
<method name="get_latin_keyboard_variant" qualifiers="const">
diff --git a/doc/classes/RandomNumberGenerator.xml b/doc/classes/RandomNumberGenerator.xml
index 720acc16ba..5badfba923 100644
--- a/doc/classes/RandomNumberGenerator.xml
+++ b/doc/classes/RandomNumberGenerator.xml
@@ -10,6 +10,13 @@
<demos>
</demos>
<methods>
+ <method name="randf">
+ <return type="float">
+ </return>
+ <description>
+ Generates pseudo-random float between '0.0' and '1.0'.
+ </description>
+ </method>
<method name="randf_range">
<return type="float">
</return>
@@ -21,6 +28,13 @@
Generates pseudo-random float between [code]from[/code] and [code]to[/code].
</description>
</method>
+ <method name="randi">
+ <return type="int">
+ </return>
+ <description>
+ Generates pseudo-random 32-bit unsigned integer between '0' and '4294967295'.
+ </description>
+ </method>
<method name="randi_range">
<return type="int">
</return>
@@ -32,20 +46,6 @@
Generates pseudo-random 32-bit signed integer between [code]from[/code] and [code]to[/code](inclusive).
</description>
</method>
- <method name="randf">
- <return type="float">
- </return>
- <description>
- Generates pseudo-random float between '0.0' and '1.0'.
- </description>
- </method>
- <method name="randi">
- <return type="int">
- </return>
- <description>
- Generates pseudo-random 32-bit unsigned integer between '0' and '4294967295'.
- </description>
- </method>
<method name="randomize">
<return type="void">
</return>