<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/effect](./effect.md) &gt; [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)<!-- -->&lt;Vec&gt; |  |

**Returns:**

Curve&lt;Vec&gt;\[\]


## Remarks

保证转换后的所有曲线段是首尾相接的

