MeshIndexCount()

Syntax

Result = MeshIndexCount(#Mesh [, SubMesh])
Description
Return the number of indexes in the mesh.

Parameters

Mesh The mesh to use.
SubMesh (optional) If specified, it will return the number of indexes in the specified submesh. The first submesh index is 0 (main mesh).

Return value

Returns the number of indexes in the mesh, or zero if the mesh or the submesh doesn't exists.

See Also

CreateMesh(), LoadMesh(), MeshVertexCount()

Supported OS

All

<- MeshIndex() - Mesh Index - MeshRadius() ->