文档

Unity Engine

Unity Engine

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

Splits a curve segment at a given parametric location.
阅读时间1 分钟最后更新于 1 个月前

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