QuadraticBezierCurve
new QuadraticBezierCurve(v0?: Vector2, v1?: Vector2, v2?: Vector2)THREE equivalent: THREE.QuadraticBezierCurve
2D quadratic Bezier curve with one control point.
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
v0 |
Vector2 |
Start point. |
v1 |
Vector2 |
Control point. |
v2 |
Vector2 |
End point. |
Methods
Section titled “Methods”| Method | Description |
|---|---|
getPoint(t: number, target?: Vector2): Vector2 |
Returns the point at parameter t. |