summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/classes/Input.xml2
-rw-r--r--doc/classes/ProjectSettings.xml16
-rw-r--r--doc/classes/RandomNumberGenerator.xml22
3 files changed, 28 insertions, 12 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml
index 25a2f45773..bf395ee513 100644
--- a/doc/classes/Input.xml
+++ b/doc/classes/Input.xml
@@ -17,7 +17,7 @@
</return>
<argument index="0" name="action" type="String">
</argument>
- <argument index="1" name="strength" type="float" default="1.0f">
+ <argument index="1" name="strength" type="float">
</argument>
<description>
This will simulate pressing the specified action. The strength can be used for non-boolean actions.
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index 3b7356ab39..9706ea4e60 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -608,6 +608,22 @@
<member name="network/limits/packet_peer_stream/max_buffer_po2" type="int" setter="" getter="">
Default size of packet peer stream for deserializing godot data. Over this size, data is dropped.
</member>
+ <member name="network/limits/websocket_client/max_in_buffer_kb" type="int" setter="" getter="">
+ </member>
+ <member name="network/limits/websocket_client/max_in_packets" type="int" setter="" getter="">
+ </member>
+ <member name="network/limits/websocket_client/max_out_buffer_kb" type="int" setter="" getter="">
+ </member>
+ <member name="network/limits/websocket_client/max_out_packets" type="int" setter="" getter="">
+ </member>
+ <member name="network/limits/websocket_server/max_in_buffer_kb" type="int" setter="" getter="">
+ </member>
+ <member name="network/limits/websocket_server/max_in_packets" type="int" setter="" getter="">
+ </member>
+ <member name="network/limits/websocket_server/max_out_buffer_kb" type="int" setter="" getter="">
+ </member>
+ <member name="network/limits/websocket_server/max_out_packets" type="int" setter="" getter="">
+ </member>
<member name="network/remote_fs/page_read_ahead" type="int" setter="" getter="">
Amount of read ahead used by remote filesystem. Improves latency.
</member>
diff --git a/doc/classes/RandomNumberGenerator.xml b/doc/classes/RandomNumberGenerator.xml
index 55ae356435..aee9654561 100644
--- a/doc/classes/RandomNumberGenerator.xml
+++ b/doc/classes/RandomNumberGenerator.xml
@@ -10,11 +10,15 @@
<demos>
</demos>
<methods>
- <method name="randi">
- <return type="int">
+ <method name="rand_range">
+ <return type="float">
</return>
+ <argument index="0" name="from" type="float">
+ </argument>
+ <argument index="1" name="to" type="float">
+ </argument>
<description>
- Generates pseudo-random 32-bit integer between '0' and '4294967295'.
+ Generates pseudo-random float between [code]from[/code] and [code]to[/code].
</description>
</method>
<method name="randf">
@@ -24,22 +28,18 @@
Generates pseudo-random float between '0.0' and '1.0'.
</description>
</method>
- <method name="rand_range">
- <return type="float">
+ <method name="randi">
+ <return type="int">
</return>
- <argument index="0" name="from" type="float">
- </argument>
- <argument index="1" name="to" type="float">
- </argument>
<description>
- Generates pseudo-random float between [code]from[/code] and [code]to[/code].
+ Generates pseudo-random 32-bit integer between '0' and '4294967295'.
</description>
</method>
<method name="randomize">
<return type="void">
</return>
<description>
- Setups a time-based seed to generator.
+ Setups a time-based seed to generator.
</description>
</method>
</methods>