summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-12 19:09:56 +0200
committerGitHub <noreply@github.com>2021-06-12 19:09:56 +0200
commit0024bb3f4eb9ec6808acd0760bb485d3a669bc3e (patch)
treed58a32d465b9c2ac868c11b0067aaeab77beca63 /doc
parentfe7559f751e81b21da2eb8252123f384b8a8622d (diff)
parent033985f9c2d156a56060b23a0c48568af5a78257 (diff)
Merge pull request #49538 from Calinou/doc-arraymesh-fix-duplicate-paragraph
Fix duplicate paragraph in `ArrayMesh.add_surface_from_arrays()` description
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/ArrayMesh.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/classes/ArrayMesh.xml b/doc/classes/ArrayMesh.xml
index 7826932179..f8cbc942e6 100644
--- a/doc/classes/ArrayMesh.xml
+++ b/doc/classes/ArrayMesh.xml
@@ -77,7 +77,6 @@
Creates a new surface.
Surfaces are created to be rendered using a [code]primitive[/code], which may be any of the types defined in [enum Mesh.PrimitiveType]. (As a note, when using indices, it is recommended to only use points, lines or triangles.) [method Mesh.get_surface_count] will become the [code]surf_idx[/code] for this new surface.
The [code]arrays[/code] argument is an array of arrays. See [enum Mesh.ArrayType] for the values used in this array. For example, [code]arrays[0][/code] is the array of vertices. That first vertex sub-array is always required; the others are optional. Adding an index array puts this function into "index mode" where the vertex and other arrays become the sources of data and the index array defines the vertex order. All sub-arrays must have the same length as the vertex array or be empty, except for [constant Mesh.ARRAY_INDEX] if it is used.
- Adding an index array puts this function into "index mode" where the vertex and other arrays become the sources of data, and the index array defines the order of the vertices.
</description>
</method>
<method name="clear_blend_shapes">