MeshVertexCount()

Syntax

Result = MeshVertexCount(#Mesh [, SubMesh])
Description
Return the number of vertices of the mesh.

Parameters

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

Return value

Returns the vertices number of the mesh, or zero if the mesh or the submesh doesn't exist.

See Also

CreateMesh(), LoadMesh(), MeshIndexCount()

Supported OS

All

<- MeshVertexColor() - Mesh Index - MeshVertexNormal() ->