summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-08 07:48:05 +0100
committerGitHub <noreply@github.com>2022-03-08 07:48:05 +0100
commit1561737055bcececfd9661832665000dce7d61a9 (patch)
treecb174d75bb566403e6b9a6d64b4fd963e416c625 /doc/classes
parentf488a841c7225a4d80abbc04c74079fbbac01c77 (diff)
parentaea104deb720e22e11d4ead8253c9717eb99db2e (diff)
Merge pull request #49447 from Calinou/remove-shadow-color-property
Remove unused `shadow_color` property from Light3D
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Light3D.xml3
-rw-r--r--doc/classes/RenderingServer.xml8
2 files changed, 0 insertions, 11 deletions
diff --git a/doc/classes/Light3D.xml b/doc/classes/Light3D.xml
index 0350d09dfd..b7822f1bb0 100644
--- a/doc/classes/Light3D.xml
+++ b/doc/classes/Light3D.xml
@@ -86,9 +86,6 @@
<member name="shadow_blur" type="float" setter="set_param" getter="get_param" default="1.0">
Blurs the edges of the shadow. Can be used to hide pixel artifacts in low-resolution shadow maps. A high value can impact performance, make shadows appear grainy and can cause other unwanted artifacts. Try to keep as near default as possible.
</member>
- <member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" default="Color(0, 0, 0, 1)">
- The color of shadows cast by this light.
- </member>
<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false">
If [code]true[/code], the light will cast real-time shadows. This has a significant performance cost. Only enable shadow rendering when it makes a noticeable difference in the scene's appearance, and consider using [member distance_fade_enabled] to hide the light when far away from the [Camera3D].
</member>
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml
index ba3f5e10f5..50990b5320 100644
--- a/doc/classes/RenderingServer.xml
+++ b/doc/classes/RenderingServer.xml
@@ -1709,14 +1709,6 @@
If [code]true[/code], light will cast shadows. Equivalent to [member Light3D.shadow_enabled].
</description>
</method>
- <method name="light_set_shadow_color">
- <return type="void" />
- <argument index="0" name="light" type="RID" />
- <argument index="1" name="color" type="Color" />
- <description>
- Sets the color of the shadow cast by the light. Equivalent to [member Light3D.shadow_color].
- </description>
- </method>
<method name="lightmap_create">
<return type="RID" />
<description>