summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-27 10:47:10 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-27 10:47:10 -0600
commitc5cd7c66ee417f6854fb5e36812e870849c46c3e (patch)
tree46866e6b84e18ebd0ada42389bb1eac119b7571a /doc/classes
parent06f4bcdefb14c77b553f10a805188057952b9cdf (diff)
parent612981c1ea7d1beb927b53a2e4056827ed6ca32a (diff)
downloadredot-engine-c5cd7c66ee417f6854fb5e36812e870849c46c3e.tar.gz
Merge pull request #85443 from smix8/gridmap_castshadows
Add ShadowCastingSetting to MeshLibrary / GridMap items
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/MeshLibrary.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/classes/MeshLibrary.xml b/doc/classes/MeshLibrary.xml
index f65e29af8e..5f51d18e4e 100644
--- a/doc/classes/MeshLibrary.xml
+++ b/doc/classes/MeshLibrary.xml
@@ -45,6 +45,13 @@
Returns the item's mesh.
</description>
</method>
+ <method name="get_item_mesh_cast_shadow" qualifiers="const">
+ <return type="int" enum="RenderingServer.ShadowCastingSetting" />
+ <param index="0" name="id" type="int" />
+ <description>
+ Returns the item's shadow casting mode. See [enum RenderingServer.ShadowCastingSetting] for possible values.
+ </description>
+ </method>
<method name="get_item_mesh_transform" qualifiers="const">
<return type="Transform3D" />
<param index="0" name="id" type="int" />
@@ -116,6 +123,14 @@
Sets the item's mesh.
</description>
</method>
+ <method name="set_item_mesh_cast_shadow">
+ <return type="void" />
+ <param index="0" name="id" type="int" />
+ <param index="1" name="shadow_casting_setting" type="int" enum="RenderingServer.ShadowCastingSetting" />
+ <description>
+ Sets the item's shadow casting mode. See [enum RenderingServer.ShadowCastingSetting] for possible values.
+ </description>
+ </method>
<method name="set_item_mesh_transform">
<return type="void" />
<param index="0" name="id" type="int" />