Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
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.
value1, value2, ... = Mesh:getVertexAttribute( vertexindex, attributeindex )
number vertexindex
number attributeindex
number value1
number value2
number ...