SplineCurve

new SplineCurve(points?: Vector2[])
THREE: THREE.SplineCurve

2D Catmull-Rom spline through a set of points.

Properties

NameTypeDescription
points

Vector2[]

Control points the spline passes through.

Methods

MethodDescription
getPoint(t: number, target?: Vector2): Vector2

Returns the point at parameter t.