C# Class PointController, CSharpGameFramework

Inheritance: MonoBehaviour
Mostrar archivo Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
PointList ( Vector3 path, int pointSize ) : Vector3[]

获取曲线上面的所有点

Private Methods

Method Description
Interp ( Vector3 pts, float t ) : Vector3

根据 T 获取曲线上面的点位置

PathControlPointGenerator ( Vector3 path ) : Vector3[]

获取控制点

Method Details

PointList() public static method

获取曲线上面的所有点
public static PointList ( Vector3 path, int pointSize ) : Vector3[]
path Vector3 需要穿过的点列表
pointSize int 两个点之间的节点数量
return Vector3[]