ModelData:getVertexCount

Edit

Returns the total vertex count of a model. This count includes meshes that are attached to multiple nodes, and the count corresponds to the vertices returned by ModelData:getTriangles.

count = ModelData:getVertexCount()

Arguments

None

Returns

NameTypeDescription
countnumber The total number of vertices in the model.

See also