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