文档

Unity Engine

Unity Engine

SegmentsInPath(IEnumerable<BezierPathSegment>, bool)

Iterates through every segment in a list of path segments.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static IEnumerable<BezierSegment> SegmentsInPath(IEnumerable<BezierPathSegment> segments, bool closed = false)

Parameters

The path segments to iterate from

closed

Whether to return the segment connecting the last point to the beginning of the path

Returns

Type

Description

IEnumerable<BezierSegment>An enumerable of every segments in the path