summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-03 13:59:43 +0200
committerGitHub <noreply@github.com>2019-06-03 13:59:43 +0200
commit0dac4d6db6553a90ed5e9daf06fe3a1cd3e3fb5f (patch)
tree2356764b04c5e929b512b2f1973b4f3db1eb25e2 /doc
parentb3162a2a28e039c32d138fdf7ae464cf6b19cd18 (diff)
parent6df53e0401fd7c2f8e81cd7d8189584706d3d7d8 (diff)
Merge pull request #25522 from aqnuep/MeshLibrary_improvements
MeshLibrary export improvements
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/ArrayMesh.xml11
-rw-r--r--doc/classes/Mesh.xml11
2 files changed, 11 insertions, 11 deletions
diff --git a/doc/classes/ArrayMesh.xml b/doc/classes/ArrayMesh.xml
index 1707ea07e0..745d803a30 100644
--- a/doc/classes/ArrayMesh.xml
+++ b/doc/classes/ArrayMesh.xml
@@ -155,17 +155,6 @@
Remove a surface at position surf_idx, shifting greater surfaces one surf_idx slot down.
</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>
<method name="surface_set_name">
<return type="void">
</return>
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">