UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

26 lines (14 loc) 521 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [createLines](./tools.createlines.md) ## createLines() function 通过顶点列表创建其所围成的折线的线段列表 **Signature:** ```typescript export declare function createLines(points: Vector3[]): Line3[]; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | points | Vector3\[\] | | **Returns:** Line3\[\]