动态参数...points: readonly PathPoint[]Point list.
可选out: Vector3[]The array to store the result.
可选outTs: number[]The array to store the distance value of each point.
可选pointDensity: numberThe density of the points. It means the step of distance value between two points. Default is 0.1.
All the points on the curve.
The index of the segment.
The start distance of the segment. It should be a value between 0 and 1.
The end distance of the segment. It should be a value between 0 and 1.
可选outPoints: Vector3[]The array to store the result.
可选outTs: number[]The array to store the distance value of each point.
可选pointDensity: numberThe density of the points. It means the step of distance value between two points. Default is 0.1.
The points in the specified segment.
En
The total length of the curve.
Zh
曲线的总长度。