summaryrefslogtreecommitdiff
path: root/doc/classes/Mesh.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Mesh.xml')
-rw-r--r--doc/classes/Mesh.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/classes/Mesh.xml b/doc/classes/Mesh.xml
index b8bc5cbd11..048e7074f1 100644
--- a/doc/classes/Mesh.xml
+++ b/doc/classes/Mesh.xml
@@ -80,6 +80,17 @@
Returns a [Material] in a given surface. Surface is rendered using this material.
</description>
</method>
+ <method name="surface_set_material">
+ <return type="void">
+ </return>
+ <argument index="0" name="surf_idx" type="int">
+ </argument>
+ <argument index="1" name="material" type="Material">
+ </argument>
+ <description>
+ Set a [Material] for a given surface. Surface will be rendered using this material.
+ </description>
+ </method>
</methods>
<members>
<member name="lightmap_size_hint" type="Vector2" setter="set_lightmap_size_hint" getter="get_lightmap_size_hint">