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

NameTypeDescription
indexnumberThe index of the vertex to retrieve.

Returns

NameTypeDescription
...numberAll attributes of the vertex.

See also