ModelData:getMeshVertex

Returns the data for a single vertex in a mesh. The data returned depends on the vertex format of a mesh, which is given by ModelData:getMeshVertexFormat.

... = ModelData:getMeshVertex(mesh, vertex)

Arguments

NameTypeDescription
meshnumber The index of a mesh to get the vertex from.
vertexnumber The index of a vertex in the mesh to retrieve.

Returns

NameTypeDescription
...number The data for all of the attributes of the vertex.

See also