@three3d/effect
Version:
@three3d/effect 提供了 ThreeJS 的特效
30 lines (16 loc) • 715 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/effect](./effect.md) > [pathDataToContinuousCurves](./effect.pathdatatocontinuouscurves.md)
## pathDataToContinuousCurves() function
路径数据转连续曲线
**Signature:**
```typescript
export declare function pathDataToContinuousCurves<Vec extends Vector3 | Vector2>(pathData: PathData<Vec>): Curve<Vec>[];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| pathData | [PathData](./effect.pathdata.md)<!-- --><Vec> | |
**Returns:**
Curve<Vec>\[\]
## Remarks
保证转换后的所有曲线段是首尾相接的