UNPKG

@three3d/tools

Version:

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

27 lines (15 loc) 834 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [createPolylineBufferGeometry](./tools.createpolylinebuffergeometry.md) ## createPolylineBufferGeometry() function 创建曲线几何体 **Signature:** ```typescript export declare function createPolylineBufferGeometry(points: Vector3[], options?: CreatePolylineBufferGeometryOptions | null): BufferGeometry<import("three").NormalBufferAttributes>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | points | Vector3\[\] | | | options | [CreatePolylineBufferGeometryOptions](./tools.createpolylinebuffergeometryoptions.md) \| null | _(Optional)_ 选项 | **Returns:** BufferGeometry&lt;import("three").NormalBufferAttributes&gt;