Mesh:getVertexMap
Returns the current vertex map for the Mesh. The vertex map is a list of indices in the Mesh, allowing the reordering or reuse of vertices.
map = Mesh:getVertexMap()
Arguments
None
Returns
Name | Type | Description |
map | table | The list of indices in the vertex map, or nil if no vertex map is set.
|
map = Mesh:getVertexMap(t)
Arguments
Name | Type | Description |
t | table | The table to fill with the vertex map.
|
Returns
Name | Type | Description |
map | table | The list of indices in the vertex map, or nil if no vertex map is set.
|
Mesh:getVertexMap(blob)
Arguments
Name | Type | Description |
blob | Blob | The Blob to fill with the vertex map data. It must be big enough to hold all of the indices.
|
Returns
Nothing
See also