Threepp.SplineCurve¶
2D spline curve
A smooth curve that passes through multiple points.
Members¶
Constructors¶
Methods¶
SplineCurve¶
Constructor
Arguments
| Arguments | Default | Description |
|---|---|---|
points |
|
Array of points (an array of Vector2 or of [x,y]). |
Description
Constructor
getLength¶
Method
Description
Gets the length of the curve
getPoint¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
t |
|
Description
Gets the point at parameter t (0-1)