Mesh:getDrawRange

Retrieve the current draw range for the Mesh. The draw range is a subset of the vertices of the Mesh that will be drawn.

start, count = Mesh:getDrawRange()

Arguments

None

Returns

NameTypeDescription
startnumberThe index of the first vertex that will be drawn, or nil if no draw range is set.
countnumberThe number of vertices that will be drawn, or nil if no draw range is set.

See also