Mesh:getVertex
Gets the data for a single vertex in the Mesh. The set of data returned depends on the Mesh's vertex format. The default vertex format consists of 8 floating point numbers: the vertex position, the vertex normal, and the texture coordinates.
... = Mesh:getVertex(index)
Arguments
Name | Type | Description |
index | number | The index of the vertex to retrieve. |
Returns
Name | Type | Description |
... | number | All attributes of the vertex. |
See also
Mesh:setVertex
Mesh