ドキュメント

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