UNPKG

@three3d/effect

Version:

@three3d/effect 提供了 ThreeJS 的特效

19 lines (10 loc) 633 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/effect](./effect.md) &gt; [lengthDrawRange\_fragment\_pars\_mainReplace](./effect.lengthdrawrange_fragment_pars_mainreplace.md) ## lengthDrawRange\_fragment\_pars\_mainReplace variable 针对于一切带有 lineDistance attribute 的几何体的材质的片元着色器增加的代码片段 **Signature:** ```typescript lengthDrawRange_fragment_pars_mainReplace = "\nvarying float vLineDistance;\n" ``` ## Remarks 对于除 LineDashedMaterial 之外的材质的顶点着色器增加的代码