QuadraticBezierCurve

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

2D quadratic Bezier curve with one control point.

Properties

NameTypeDescription
v0

Vector2

Start point.

v1

Vector2

Control point.

v2

Vector2

End point.

Methods

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

Returns the point at parameter t.