From 2446dbfba1ce0549ffaf202d6fb38ec65dba2155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 25 Jun 2020 10:51:46 +0200 Subject: [PATCH] doc: Sync classref with current source --- doc/classes/DirectionalLight3D.xml | 2 ++ doc/classes/Light3D.xml | 4 ++-- doc/classes/RichTextLabel.xml | 2 +- doc/classes/SpotLight3D.xml | 2 ++ .../VisualShaderNodeTexture2DArrayUniform.xml | 13 +++++++++++++ 5 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 doc/classes/VisualShaderNodeTexture2DArrayUniform.xml diff --git a/doc/classes/DirectionalLight3D.xml b/doc/classes/DirectionalLight3D.xml index f66be6dddec..fc7ce94a2bc 100644 --- a/doc/classes/DirectionalLight3D.xml +++ b/doc/classes/DirectionalLight3D.xml @@ -39,6 +39,8 @@ The distance from shadow split 2 to split 3. Relative to [member directional_shadow_max_distance]. Only used when [member directional_shadow_mode] is [code]SHADOW_PARALLEL_4_SPLITS[/code]. + + diff --git a/doc/classes/Light3D.xml b/doc/classes/Light3D.xml index 930a68be7f1..dda6faa80af 100644 --- a/doc/classes/Light3D.xml +++ b/doc/classes/Light3D.xml @@ -65,7 +65,7 @@ The intensity of the specular blob in objects affected by the light. At [code]0[/code], the light becomes a pure diffuse light. When not baking emission, this can be used to avoid unrealistic reflections when placing lights above an emissive surface. - + Used to adjust shadow appearance. Too small a value results in self-shadowing ("shadow acne"), while too large a value causes shadows to separate from casters ("peter-panning"). Adjust as needed. @@ -77,7 +77,7 @@ If [code]true[/code], the light will cast shadows. - + Offsets the lookup into the shadow map by the object's normal. This can be used to reduce self-shadowing artifacts without using [member shadow_bias]. In practice, this value should be tweaked along with [member shadow_bias] to reduce artifacts as much as possible. diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index d4eba77ffac..c44df728782 100644 --- a/doc/classes/RichTextLabel.xml +++ b/doc/classes/RichTextLabel.xml @@ -52,7 +52,7 @@ Clears the tag stack and sets [member bbcode_text] to an empty string. - + diff --git a/doc/classes/SpotLight3D.xml b/doc/classes/SpotLight3D.xml index d8d82a6852f..423633e5834 100644 --- a/doc/classes/SpotLight3D.xml +++ b/doc/classes/SpotLight3D.xml @@ -12,6 +12,8 @@ + + The spotlight's angle in degrees. diff --git a/doc/classes/VisualShaderNodeTexture2DArrayUniform.xml b/doc/classes/VisualShaderNodeTexture2DArrayUniform.xml new file mode 100644 index 00000000000..976fcf26c8f --- /dev/null +++ b/doc/classes/VisualShaderNodeTexture2DArrayUniform.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + +