From 0c7a9bd2835bef7d0807556b6f5f74b69431ffad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 10 Dec 2020 14:22:31 +0100 Subject: [PATCH] doc: Sync classref with current source And fix broken doctool after #43948. --- doc/classes/LinkButton.xml | 1 + doc/classes/MenuButton.xml | 1 + doc/classes/ProjectSettings.xml | 6 +++--- doc/classes/TabContainer.xml | 6 +++--- main/main.cpp | 2 -- .../opensimplex/doc_classes/OpenSimplexNoise.xml | 16 ++++++++-------- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/classes/LinkButton.xml b/doc/classes/LinkButton.xml index 7b346b1ca4..9dac320d9c 100644 --- a/doc/classes/LinkButton.xml +++ b/doc/classes/LinkButton.xml @@ -12,6 +12,7 @@ + The button's text that will be displayed inside the button's area. diff --git a/doc/classes/MenuButton.xml b/doc/classes/MenuButton.xml index 3e9c44cd4f..081cc8436f 100644 --- a/doc/classes/MenuButton.xml +++ b/doc/classes/MenuButton.xml @@ -31,6 +31,7 @@ + If [code]true[/code], when the cursor hovers above another [MenuButton] within the same parent which also has [code]switch_on_hover[/code] enabled, it will close the current [MenuButton] and open the other one. diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 8758ca0386..e75f0cb383 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -1078,6 +1078,9 @@ Max buffer size for drawing immediate objects (ImmediateGeometry nodes). Nodes using more than this size will not work. + + Max number of lights renderable per object. This is further limited by hardware support. Most devices only support 409 lights, while many devices (especially mobile) only support 102. Setting this low will slightly reduce memory usage and may decrease shader compile times. + 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. @@ -1087,9 +1090,6 @@ 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. - - Max number of lights renderable per object. This is further limited by hardware support. Most devices only support 409 lights, while many devices (especially mobile) only support 102. Setting this low will slightly reduce memory usage and may decrease shader compile times. - 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). diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml index bca305d100..4a82dc7185 100644 --- a/doc/classes/TabContainer.xml +++ b/doc/classes/TabContainer.xml @@ -137,6 +137,9 @@ + + If [code]true[/code], all tabs are drawn in front of the panel. If [code]false[/code], inactive tabs are drawn behind the panel. + The current tab index. When set, this index's [Control] node's [code]visible[/code] property is set to [code]true[/code] and all others are set to [code]false[/code]. @@ -149,9 +152,6 @@ If [code]true[/code], tabs are visible. If [code]false[/code], tabs' content and titles are hidden. - - If [code]true[/code], all tabs are drawn in front of the panel. If [code]false[/code], inactive tabs are drawn behind the panel. - If [code]true[/code], children [Control] nodes that are hidden have their minimum size take into account in the total, instead of only the currently visible one. diff --git a/main/main.cpp b/main/main.cpp index 02a113453e..237ae70644 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -703,8 +703,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph auto_build_solutions = true; editor = true; - } else if (I->get() == "--doctool") { // Dump the engine API reference - OS::get_singleton()->set_no_window_mode(true); auto_quit = true; #ifdef DEBUG_METHODS_ENABLED diff --git a/modules/opensimplex/doc_classes/OpenSimplexNoise.xml b/modules/opensimplex/doc_classes/OpenSimplexNoise.xml index f500925f75..c87fb77a23 100644 --- a/modules/opensimplex/doc_classes/OpenSimplexNoise.xml +++ b/modules/opensimplex/doc_classes/OpenSimplexNoise.xml @@ -24,7 +24,7 @@ - + @@ -35,7 +35,7 @@ Generate a noise image with the requested [code]width[/code] and [code]height[/code], based on the current noise parameters. - + @@ -45,7 +45,7 @@ [b]Note:[/b] This method actually returns the 2D noise value [code][-1,1][/code] with fixed y-coordinate value 0.0. - + @@ -56,7 +56,7 @@ Returns the 2D noise value [code][-1,1][/code] at the given position. - + @@ -65,7 +65,7 @@ Returns the 2D noise value [code][-1,1][/code] at the given position. - + @@ -78,7 +78,7 @@ Returns the 3D noise value [code][-1,1][/code] at the given position. - + @@ -87,7 +87,7 @@ Returns the 3D noise value [code][-1,1][/code] at the given position. - + @@ -102,7 +102,7 @@ Returns the 4D noise value [code][-1,1][/code] at the given position. - +