UNPKG

@three3d/tools

Version:

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

29 lines (17 loc) 838 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [computeCurveFrenetFramesByFixUp](./tools.computecurvefrenetframesbyfixup.md) ## computeCurveFrenetFramesByFixUp() function 通过固定up方向的方式计算曲线的 FrenetFrames **Signature:** ```typescript export declare function computeCurveFrenetFramesByFixUp(curve: Curve<Vector3>, division: number, up: Vector3, useU?: boolean): UT_Point_FrenetFrames; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | curve | Curve&lt;Vector3&gt; | | | division | number | | | up | Vector3 | | | useU | boolean | _(Optional)_ 是否使用分分u的方式; | **Returns:** [UT\_Point\_FrenetFrames](./tools.ut_point_frenetframes.md)