@three3d/tools
Version:
@three3d/tools 提供了 ThreeJS 常用的工具库
33 lines (21 loc) • 1.05 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/tools](./tools.md) > [createLineConnection](./tools.createlineconnection.md)
## createLineConnection() function
创建圆角的线连接数据
**Signature:**
```typescript
export declare function createLineConnection(cornerPointInfo: VertexInfo, frontFrame: Omit<FrenetFrame, "">, backFrame: FrenetFrame, options?: CreateLineConnectionOptions): {
points: Vector3[];
normals: Vector3[];
lengths: number[];
};
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| cornerPointInfo | [VertexInfo](./tools.vertexinfo.md) | |
| frontFrame | Omit<[FrenetFrame](./tools.frenetframe.md)<!-- -->, ""> | |
| backFrame | [FrenetFrame](./tools.frenetframe.md) | |
| options | [CreateLineConnectionOptions](./tools.createlineconnectionoptions.md) | _(Optional)_ 选项 |
**Returns:**
{ points: Vector3\[\]; normals: Vector3\[\]; lengths: number\[\]; }