doc: Sync classref with current source

This commit is contained in:
Rémi Verschelde 2018-02-22 19:02:37 +01:00
parent 07e2461995
commit 46b594054c
8 changed files with 1897 additions and 19 deletions

View File

@ -20,7 +20,7 @@
</argument>
<argument index="2" name="b8" type="int">
</argument>
<argument index="3" name="a8" type="int">
<argument index="3" name="a8" type="int" default="255">
</argument>
<description>
Returns a 32 bit color with red, green, blue and alpha channels. Each channel has 8 bits of information ranging from 0 to 255.
@ -38,7 +38,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
<argument index="1" name="alpha" type="float">
<argument index="1" name="alpha" type="float" default="1.0">
</argument>
<description>
Returns a color according to the standardised [code]name[/code] with [code]alpha[/code] ranging from 0 to 1.
@ -1131,9 +1131,9 @@
<method name="yield">
<return type="GDScriptFunctionState">
</return>
<argument index="0" name="object" type="Object">
<argument index="0" name="object" type="Object" default="null">
</argument>
<argument index="1" name="signal" type="String">
<argument index="1" name="signal" type="String" default="&quot;&quot;">
</argument>
<description>
Stops the function execution and returns the current state. Call [method GDScriptFunctionState.resume] on the state to resume execution. This invalidates the state.

View File

@ -66,6 +66,16 @@
Return the amount of surfaces that the [code]ArrayMesh[/code] holds.
</description>
</method>
<method name="lightmap_unwrap">
<return type="int" enum="Error">
</return>
<argument index="0" name="arg0" type="Transform">
</argument>
<argument index="1" name="arg1" type="float">
</argument>
<description>
</description>
</method>
<method name="regen_normalmaps">
<return type="void">
</return>

View File

@ -12,6 +12,12 @@
<demos>
</demos>
<methods>
<method name="get_length" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
</methods>
<constants>
</constants>

View File

@ -36,6 +36,12 @@
Returns [code]true[/code] if the current host platform is using multiple threads.
</description>
</method>
<method name="center_window">
<return type="void">
</return>
<description>
</description>
</method>
<method name="delay_msec" qualifiers="const">
<return type="void">
</return>
@ -232,6 +238,12 @@
Returns the number of cores available in the host machine.
</description>
</method>
<method name="get_real_window_size" qualifiers="const">
<return type="Vector2">
</return>
<description>
</description>
</method>
<method name="get_scancode_string" qualifiers="const">
<return type="String">
</return>

View File

@ -29,16 +29,6 @@
Disconnect from host.
</description>
</method>
<method name="set_no_delay">
<return type="void">
</return>
<argument index="0" name="enabled" type="bool">
</argument>
<description>
Disable Nagle algorithm to improve latency for small packets.
Note that for applications that send large packets, or need to transfer a lot of data, this can reduce total bandwidth.
</description>
</method>
<method name="get_connected_host" qualifiers="const">
<return type="String">
</return>
@ -66,6 +56,16 @@
<description>
</description>
</method>
<method name="set_no_delay">
<return type="void">
</return>
<argument index="0" name="enabled" type="bool">
</argument>
<description>
Disable Nagle algorithm to improve latency for small packets.
Note that for applications that send large packets, or need to transfer a lot of data, this can reduce total bandwidth.
</description>
</method>
</methods>
<constants>
<constant name="STATUS_NONE" value="0" enum="Status">

File diff suppressed because it is too large Load Diff