@three3d/tools
Version:
@three3d/tools 提供了 ThreeJS 常用的工具库
27 lines (15 loc) • 834 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/tools](./tools.md) > [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<import("three").NormalBufferAttributes>