SplineCurve
new SplineCurve(points?: Vector2[])
THREE: THREE.SplineCurve
2D Catmull-Rom spline through a set of points.
Properties
| Name | Type | Description |
|---|---|---|
points | Vector2[] | Control points the spline passes through. |
Methods
| Method | Description |
|---|---|
getPoint(t: number, target?: Vector2): Vector2 | Returns the point at parameter t. |