doc: Sync classref with current source
This commit is contained in:
parent
07e2461995
commit
46b594054c
|
@ -20,7 +20,7 @@
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="b8" type="int">
|
<argument index="2" name="b8" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="3" name="a8" type="int">
|
<argument index="3" name="a8" type="int" default="255">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<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.
|
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>
|
</return>
|
||||||
<argument index="0" name="name" type="String">
|
<argument index="0" name="name" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="alpha" type="float">
|
<argument index="1" name="alpha" type="float" default="1.0">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Returns a color according to the standardised [code]name[/code] with [code]alpha[/code] ranging from 0 to 1.
|
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">
|
<method name="yield">
|
||||||
<return type="GDScriptFunctionState">
|
<return type="GDScriptFunctionState">
|
||||||
</return>
|
</return>
|
||||||
<argument index="0" name="object" type="Object">
|
<argument index="0" name="object" type="Object" default="null">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="signal" type="String">
|
<argument index="1" name="signal" type="String" default="""">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Stops the function execution and returns the current state. Call [method GDScriptFunctionState.resume] on the state to resume execution. This invalidates the state.
|
Stops the function execution and returns the current state. Call [method GDScriptFunctionState.resume] on the state to resume execution. This invalidates the state.
|
||||||
|
|
|
@ -66,6 +66,16 @@
|
||||||
Return the amount of surfaces that the [code]ArrayMesh[/code] holds.
|
Return the amount of surfaces that the [code]ArrayMesh[/code] holds.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</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">
|
<method name="regen_normalmaps">
|
||||||
<return type="void">
|
<return type="void">
|
||||||
</return>
|
</return>
|
||||||
|
|
|
@ -12,6 +12,12 @@
|
||||||
<demos>
|
<demos>
|
||||||
</demos>
|
</demos>
|
||||||
<methods>
|
<methods>
|
||||||
|
<method name="get_length" qualifiers="const">
|
||||||
|
<return type="float">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<constants>
|
<constants>
|
||||||
</constants>
|
</constants>
|
||||||
|
|
|
@ -36,6 +36,12 @@
|
||||||
Returns [code]true[/code] if the current host platform is using multiple threads.
|
Returns [code]true[/code] if the current host platform is using multiple threads.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="center_window">
|
||||||
|
<return type="void">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="delay_msec" qualifiers="const">
|
<method name="delay_msec" qualifiers="const">
|
||||||
<return type="void">
|
<return type="void">
|
||||||
</return>
|
</return>
|
||||||
|
@ -232,6 +238,12 @@
|
||||||
Returns the number of cores available in the host machine.
|
Returns the number of cores available in the host machine.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="get_real_window_size" qualifiers="const">
|
||||||
|
<return type="Vector2">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="get_scancode_string" qualifiers="const">
|
<method name="get_scancode_string" qualifiers="const">
|
||||||
<return type="String">
|
<return type="String">
|
||||||
</return>
|
</return>
|
||||||
|
|
|
@ -29,16 +29,6 @@
|
||||||
Disconnect from host.
|
Disconnect from host.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</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">
|
<method name="get_connected_host" qualifiers="const">
|
||||||
<return type="String">
|
<return type="String">
|
||||||
</return>
|
</return>
|
||||||
|
@ -66,6 +56,16 @@
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</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>
|
</methods>
|
||||||
<constants>
|
<constants>
|
||||||
<constant name="STATUS_NONE" value="0" enum="Status">
|
<constant name="STATUS_NONE" value="0" enum="Status">
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue