CubicBezierCurve
new CubicBezierCurve(v0?: Vector2, v1?: Vector2, v2?: Vector2, v3?: Vector2)THREE equivalent: THREE.CubicBezierCurve
2D cubic Bezier curve with two control points.
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
v0 |
Vector2 |
Start point. |
v1 |
Vector2 |
First control point. |
v2 |
Vector2 |
Second control point. |
v3 |
Vector2 |
End point. |
Methods
Section titled “Methods”| Method | Description |
|---|---|
getPoint(t: number, target?: Vector2): Vector2 |
Returns the point at parameter t. |