public int vertexCount ;

Description

Gets the number of vertices in the MeshData. (Read Only)

vertexCount determines the number of elements in all vertex attribute arrays, including positions (GetVertices), normals (GetNormals), and texture coordinates (GetUVs). See Also: Mesh.vertexCount, GetVertexData, Mesh.AcquireReadOnlyMeshData.