<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/effect](./effect.md) &gt; [lengthDrawRange\_onBeforeCompile](./effect.lengthdrawrange_onbeforecompile.md)

## lengthDrawRange\_onBeforeCompile variable

针对于一切带有 lineDistance attribute 的几何体的材质的 onBeforeCompile 函数

**Signature:**

```typescript
lengthDrawRange_onBeforeCompile: OnBeforeCompile
```
