Skip to content

Commit

Permalink
doc: Sync classref with current source
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Nov 12, 2019
1 parent 261b9d1 commit bfd993b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
6 changes: 6 additions & 0 deletions doc/classes/Input.xml
Expand Up @@ -67,6 +67,12 @@
Returns an [Array] containing the device IDs of all currently connected joypads.
</description>
</method>
<method name="get_current_cursor_shape" qualifiers="const">
<return type="int" enum="Input.CursorShape">
</return>
<description>
</description>
</method>
<method name="get_gravity" qualifiers="const">
<return type="Vector3">
</return>
Expand Down
10 changes: 7 additions & 3 deletions doc/classes/ProjectSettings.xml
Expand Up @@ -254,6 +254,8 @@
<member name="debug/gdscript/warnings/enable" type="bool" setter="" getter="">
If [code]true[/code], enables specific GDScript warnings (see [code]debug/gdscript/warnings/*[/code] settings). If [code]false[/code], disables all GDScript warnings.
</member>
<member name="debug/gdscript/warnings/exclude_addons" type="bool" setter="" getter="">
</member>
<member name="debug/gdscript/warnings/function_conflicts_constant" type="bool" setter="" getter="">
If [code]true[/code], enables warnings when a function is declared with the same name as a constant.
</member>
Expand Down Expand Up @@ -281,6 +283,8 @@
<member name="debug/gdscript/warnings/return_value_discarded" type="bool" setter="" getter="">
If [code]true[/code], enables warnings when calling a function without using its return value (by assigning it to a variable or using it as a function argument). Such return values are sometimes used to denote possible errors using the [enum @GlobalScope.Error] enum.
</member>
<member name="debug/gdscript/warnings/shadowed_variable" type="bool" setter="" getter="">
</member>
<member name="debug/gdscript/warnings/standalone_expression" type="bool" setter="" getter="">
If [code]true[/code], enables warnings when calling an expression that has no effect on the surrounding code, such as writing [code]2 + 2[/code] as a statement.
</member>
Expand Down Expand Up @@ -705,15 +709,15 @@
<member name="rendering/limits/buffers/immediate_buffer_size_kb" type="int" setter="" getter="">
Max buffer size for drawing immediate objects (ImmediateGeometry nodes). Nodes using more than this size will not work.
</member>
<member name="rendering/limits/rendering/max_renderable_elements" type="int" setter="" getter="">
Max amount of elements renderable in a frame. If more than this are visible per frame, they will be dropped. Keep in mind elements refer to mesh surfaces and not meshes themselves.
</member>
<member name="rendering/limits/rendering/max_renderable_lights" type="int" setter="" getter="">
Max number of lights renderable in a frame. If more than this number are used, they will be ignored. On some systems (particularly web) setting this number as low as possible can increase the speed of shader compilation.
</member>
<member name="rendering/limits/rendering/max_renderable_reflections" type="int" setter="" getter="">
Max number of reflection probes renderable in a frame. If more than this number are used, they will be ignored. On some systems (particularly web) setting this number as low as possible can increase the speed of shader compilation.
</member>
<member name="rendering/limits/rendering/max_renderable_elements" type="int" setter="" getter="">
Max amount of elements renderable in a frame. If more than this are visible per frame, they will be dropped. Keep in mind elements refer to mesh surfaces and not meshes themselves.
</member>
<member name="rendering/limits/time/time_rollover_secs" type="float" setter="" getter="">
Shaders have a time variable that constantly increases. At some point, it needs to be rolled back to zero to avoid precision errors on shader animations. This setting specifies when (in seconds).
</member>
Expand Down
6 changes: 6 additions & 0 deletions doc/classes/TranslationServer.xml
Expand Up @@ -27,6 +27,12 @@
Clears the server from all translations.
</description>
</method>
<method name="get_loaded_locales" qualifiers="const">
<return type="Array">
</return>
<description>
</description>
</method>
<method name="get_locale" qualifiers="const">
<return type="String">
</return>
Expand Down

0 comments on commit bfd993b

Please sign in to comment.