Mesh:getVertexCount
Returns the maximum number of vertices the Mesh can hold.
size = Mesh:getVertexCount()
Arguments
None
Returns
Name | Type | Description |
size | number | The number of vertices the Mesh can hold. |
Notes
The size can only be set when creating the Mesh, and cannot be changed afterwards.
A subset of the Mesh's vertices can be rendered, see Mesh:setDrawRange
.
See also
Mesh