ModelData:getMeshVertex
EditReturns 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
Name | Type | Description |
mesh | number | The index of a mesh to get the vertex from. |
vertex | number | The index of a vertex in the mesh to retrieve. |
Returns
Name | Type | Description |
... | number | The data for all of the attributes of the vertex. |