VertexData:getVertex

Gets the data for a single vertex in the VertexData. The set of data returned depends on the vertex format.

... = VertexData:getVertex(index)

Arguments

NameTypeDescription
indexnumberThe index of the vertex to retrieve, starting at 1 for the first vertex.

Returns

NameTypeDescription
...numbersAll attributes of the vertex.

See also