LineCurve

new LineCurve(v1?: Vector2, v2?: Vector2)
THREE: THREE.LineCurve

2D line segment between two points.

Properties

NameTypeDescription
v1

Vector2

Start point.

v2

Vector2

End point.

Methods

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

Returns the linearly interpolated point at t.