Mesh:getIndices

Edit

Returns a table with the Mesh's vertex indices.

t = Mesh:getIndices()

Arguments

None

Returns

NameTypeDescription
ttable A table of numbers with the 1-based vertex indices.

Notes

This function will be very very slow if the Mesh's storage is gpu, because the data needs to be downloaded from the GPU.

See also