Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SplitSegment(BezierSegment, float, out BezierSegment, out BezierSegment)

Splits a curve segment at a given parametric location.
Read time 1 minuteLast updated 6 days ago

Definition

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