setDrawRange method

void setDrawRange(
  1. int start,
  2. int count
)

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;
}