<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/effect](./effect.md) &gt; [BandGeometry](./effect.bandgeometry.md) &gt; [setDrawLength](./effect.bandgeometry.setdrawlength.md)

## BandGeometry.setDrawLength() method

设置绘制的长度范围

**Signature:**

```typescript
setDrawLength(startLength: number, endLength?: number | null): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  startLength | number |  |
|  endLength | number \| null | _(Optional)_ |

**Returns:**

void

