setDrawRange method
Set the drawRange
property. For non-indexed BufferGeometry, count
is the number of vertices to render. For indexed BufferGeometry, count is
the number of indices to render.
Implementation
void setDrawRange(int start, int count) {
drawRange["start"] = start;
drawRange["count"] = count;
}