Skip to content

QuadraticBezierCurve

new QuadraticBezierCurve(v0?: Vector2, v1?: Vector2, v2?: Vector2)

THREE equivalent: THREE.QuadraticBezierCurve

2D quadratic Bezier curve with one control point.

Name Type Description
v0 Vector2 Start point.
v1 Vector2 Control point.
v2 Vector2 End point.
Method Description
getPoint(t: number, target?: Vector2): Vector2 Returns the point at parameter t.