Mesh:getVertexCount

Returns the maximum number of vertices the Mesh can hold.

size = Mesh:getVertexCount()

Arguments

None

Returns

NameTypeDescription
sizenumberThe number of vertices the Mesh can hold.

Notes

The size can only be set when creating the Mesh, and cannot be changed afterwards.

See also