Mesh.GetIndices

function GetIndices (submesh : int) : int[]

Description

Returns the index buffer for the submesh.

The layout of indices depends on the topology of a submesh, for example for triangular mesh each triangle will result in three indices.

See Also: subMeshCount, GetTopology, MeshTopology enum.