Mesh:getVertexCount

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Returns the total number of vertices in the geometry.

Function

Synopsis

num = Geometry:getVertexCount( )

Arguments

None.

Returns

number num
The total number of vertices in this geometry.

See Also

Other Languages