doc: Sync classref with current source

This commit is contained in:
Rémi Verschelde 2018-09-15 03:13:47 +02:00
parent 43a1b93d71
commit 4547e22393
4 changed files with 32 additions and 2 deletions

View file

@ -800,11 +800,11 @@ void MultiplayerAPI::_bind_methods() {
BIND_ENUM_CONSTANT(RPC_MODE_DISABLED);
BIND_ENUM_CONSTANT(RPC_MODE_REMOTE);
BIND_ENUM_CONSTANT(RPC_MODE_SYNC);
BIND_ENUM_CONSTANT(RPC_MODE_MASTER);
BIND_ENUM_CONSTANT(RPC_MODE_PUPPET);
BIND_ENUM_CONSTANT(RPC_MODE_SLAVE);
BIND_ENUM_CONSTANT(RPC_MODE_SLAVE); // deprecated
BIND_ENUM_CONSTANT(RPC_MODE_REMOTESYNC);
BIND_ENUM_CONSTANT(RPC_MODE_SYNC); // deprecated
BIND_ENUM_CONSTANT(RPC_MODE_MASTERSYNC);
BIND_ENUM_CONSTANT(RPC_MODE_PUPPETSYNC);
}

View file

@ -157,6 +157,8 @@
</method>
</methods>
<members>
<member name="application/boot_splash/bg_color" type="Color" setter="" getter="">
</member>
<member name="application/boot_splash/fullsize" type="bool" setter="" getter="">
Scale the boot splash image to the full window length when engine starts (will leave it as default pixel size otherwise).
</member>
@ -226,6 +228,8 @@
</member>
<member name="debug/gdscript/warnings/constant_used_as_function" type="bool" setter="" getter="">
</member>
<member name="debug/gdscript/warnings/deprecated_keyword" type="bool" setter="" getter="">
</member>
<member name="debug/gdscript/warnings/enable" type="bool" setter="" getter="">
</member>
<member name="debug/gdscript/warnings/function_conflicts_constant" type="bool" setter="" getter="">

View file

@ -20,6 +20,22 @@
Returns the current value set for this material of a uniform in the shader.
</description>
</method>
<method name="property_can_revert">
<return type="bool">
</return>
<argument index="0" name="name" type="String">
</argument>
<description>
</description>
</method>
<method name="property_get_revert">
<return type="Variant">
</return>
<argument index="0" name="name" type="String">
</argument>
<description>
</description>
</method>
<method name="set_shader_param">
<return type="void">
</return>

View file

@ -2185,6 +2185,16 @@
Returns the value of a certain material's parameter.
</description>
</method>
<method name="material_get_param_default" qualifiers="const">
<return type="Variant">
</return>
<argument index="0" name="material" type="RID">
</argument>
<argument index="1" name="parameter" type="String">
</argument>
<description>
</description>
</method>
<method name="material_get_shader" qualifiers="const">
<return type="RID">
</return>