构造函数

属性

c1: Vector3 = ...

Control point 1.

控制点1。

c2: Vector3 = ...

Control point 2.

控制点2。

curve: CurveType = 0

Curve type.

曲线类型。

pos: Vector3 = ...

Position.

位置。

rotationType?: RotationType

0或者null为不旋转,1为沿路径曲线路径旋转,2为沿运动路径旋转

方法