LineCurve
new LineCurve(v1?: Vector2, v2?: Vector2)THREE equivalent: THREE.LineCurve
2D line segment between two points.
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
v1 |
Vector2 |
Start point. |
v2 |
Vector2 |
End point. |
Methods
Section titled “Methods”| Method | Description |
|---|---|
getPoint(t: number, target?: Vector2): Vector2 |
Returns the linearly interpolated point at t. |