动态参数...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.
Distance value. It should be a value between 0 and 1.
可选out: Vector3Optional output Vector3 to store the result. If not provided, a new Vector3 will be created.
The rotation angles in degrees representing the tangent direction at the specified point.
静态get
0或者null为不旋转,1为沿路径曲线路径旋转,2为沿运动路径旋转