{{newin (日本語)|[[0.10.0 (日本語)|0.10.0]]|100|type=関数}}
Gets the properties of a specific attribute within a vertex in the Mesh.

Meshes without a custom vertex format specified in [[love.graphics.newMesh]] have position as their first attribute, texture coordinates as their second attribute, and color as their third attribute.
== 関数 ==
=== 概要 ===
<source lang="lua">
value1, value2, ... = Mesh:getVertexAttribute( vertexindex, attributeindex )
</source>

=== 引数 ===
{{param (日本語)|number|vertexindex|The index of the the vertex you want to retrieve the attribute for (one-based).}}
{{param (日本語)|number|attributeindex|The index of the attribute within the vertex to be retrieved (one-based).}}
=== 返値 ===
{{param (日本語)|number|value1|The value of the first component of the attribute.}}
{{param (日本語)|number|value2|The value of the second component of the attribute.}}
{{param (日本語)|number|...|Any additional vertex attribute components.}}

== 関連 ==
* [[parent::Mesh (日本語)]]
* [[Mesh:setVertexAttribute (日本語)]]
* [[Mesh:getVertexCount (日本語)]]
* [[Mesh:getVertexFormat (日本語)]]
* [[Mesh:getVertex (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Gets the properties of a specific attribute within a vertex in the Mesh.}}
== そのほかの言語 ==
{{i18n (日本語)|Mesh:getVertexAttribute}}