Skip to content

Commit

Permalink
Merge pull request #8839 from timeeeee/master
Browse files Browse the repository at this point in the history
Remove incorrect "we won't use the index array"
  • Loading branch information
skyace65 authored Feb 23, 2024
2 parents 94d114a + 892d39e commit 6a19c12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tutorials/3d/procedural_geometry/arraymesh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ See :ref:`Mesh.ArrayType <enum_Mesh_ArrayType>` for a full list.
- :ref:`PackedInt32Array <class_PackedInt32Array>`

In most cases when creating a mesh, we define it by its vertex positions. So usually, the array of vertices (at index 0) is required, while the index array (at index 12) is optional and
will only be used if included. It is also possible to create a mesh with only the index array and no vertex array, but that's beyond the scope of this tutorial. In fact, we won't use the
index array at all.
will only be used if included. It is also possible to create a mesh with only the index array and no vertex array, but that's beyond the scope of this tutorial.

All the other arrays carry information about the vertices. They are optional and will only be used if included. Some of these arrays (e.g. ``ARRAY_COLOR``)
use one entry per vertex to provide extra information about vertices. They must have the same size as the vertex array. Other arrays (e.g. ``ARRAY_TANGENT``) use
Expand Down

0 comments on commit 6a19c12

Please sign in to comment.