summaryrefslogtreecommitdiffstats
path: root/doc/classes/MeshLibrary.xml
diff options
context:
space:
mode:
authorGeorge L. Albany <Megacake1234@gmail.com>2024-11-27 21:15:49 +0000
committerGitHub <noreply@github.com>2024-11-27 21:15:49 +0000
commit85d87116e184e7923b8d6804cab2681b61c62d83 (patch)
tree55ec5bfa061a5c27272b831e697b78ed1b756a70 /doc/classes/MeshLibrary.xml
parentb06d20bf39d15ec736d08d4e4fcb32e0c3c1ce1e (diff)
parent721f53fde47c2727d99e3ecccdb789a67df36de0 (diff)
downloadredot-engine-master.tar.gz
Merge pull request #886 from Spartan322/merge/f128f38HEADmaster
Merge commit godotengine/godot@f128f38
Diffstat (limited to 'doc/classes/MeshLibrary.xml')
-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" />