Mesh:getIndices

Edit

Returns a table with the Mesh's vertex indices.

t = Mesh:getIndices()

Arguments

None

Returns

NameTypeDescription
t{number} A table of numbers with the 1-based vertex indices.

Notes

This function returns nil if the mesh was created with gpu storage.

See also