{{newinoldin|[[0.9.0]]|090|[[0.10.0]]|100|type=function|text=Use [[Mesh:getVertex]] in a loop instead}}
Gets all the vertices in the Mesh.

{{notice|This method can be slow if the Mesh has a large number of vertices. Keep the original table used to create the Mesh around and update it when necessary instead of using this method frequently, if possible.}}

== 関数 ==
=== 概要 ===
<source lang="lua">
vertices = Mesh:getVertices( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|table|vertices|The table filled with vertex information tables for each vertex as follows:}}
{{subparam|number|[1]|The position of the vertex on the x-axis.}}
{{subparam|number|[2]|The position of the vertex on the y-axis.}}
{{subparam|number|[3]|The horizontal component of the texture coordinate. Texture coordinates are normally in the range of [0, 1], but can be greater or less (see [[WrapMode]].)}}
{{subparam|number|[4]|The vertical component of the texture coordinate. Texture coordinates are normally in the range of [0, 1], but can be greater or less (see [[WrapMode]].)}}
{{subparam|number|[5] (255)|The red color component.}}
{{subparam|number|[6] (255)|The green color component.}}
{{subparam|number|[7] (255)|The blue color component.}}
{{subparam|number|[8] (255)|The alpha color component.}}
== 関連 ==
* [[parent::Mesh (日本語)]]
* [[Mesh:setVertices (日本語)]]
* [[Mesh:getVertex (日本語)]]
* [[Mesh:getVertexCount (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Gets all the vertices in the Mesh.}}
== そのほかの言語 ==
{{i18n (日本語)|Mesh:getVertices}}