Distance value. It should be a value between 0 and 1.
The point on the curve at the specified distance.
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
曲线的总长度。