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

NameTypeDescription
maptableThe list of indices in the vertex map, or nil if no vertex map is set.

map = Mesh:getVertexMap(t)

Arguments

NameTypeDescription
ttableThe table to fill with the vertex map.

Returns

NameTypeDescription
maptableThe list of indices in the vertex map, or nil if no vertex map is set.

Mesh:getVertexMap(blob)

Arguments

NameTypeDescription
blobBlobThe Blob to fill with the vertex map data. It must be big enough to hold all of the indices.

Returns

Nothing

See also