UNPKG

@three3d/tools

Version:

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

31 lines (19 loc) 714 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [getCurveDivisionLength](./tools.getcurvedivisionlength.md) ## getCurveDivisionLength() function 获取曲线的分段和长度 **Signature:** ```typescript export declare function getCurveDivisionLength(options: SampleOptions & { curve: Curve<Vector3>; }): { length: number; division: number; }; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | options | [SampleOptions](./tools.sampleoptions.md) &amp; { curve: Curve&lt;Vector3&gt;; } | | **Returns:** { length: number; division: number; }