FindBezierLineIntersections(BezierSegment, Vector2, Vector2)
Find the intersections (up to three) between a line and a curve segment.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static float[] FindBezierLineIntersections(BezierSegment segment, Vector2 p0, Vector2 p1)
Parameters
Returns
Type | Description |
|---|---|
| float[] | Returns the Bezier's 't' parametric values where the line p0-p1 intersects the segment, up to 3 values |