SplitSegment(BezierSegment, float, out BezierSegment, out BezierSegment)
Splits a curve segment at a given parametric location.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
SplitSegment(BezierSegment, float, BezierSegment, BezierSegment)
public static void SplitSegment(BezierSegment segment, float t, out BezierSegment b1, out BezierSegment b2)
Parameters
The curve segment to split
The parametric location at which the segment will be split
The output of the first segment
The output of the second segment