Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PathSegmentAtIndex(IList<BezierPathSegment>, int)

Computes the BezierSegment at a given index from a list of BezierPathSegments.
Read time 1 minuteLast updated 6 days ago

Definition

public static BezierSegment PathSegmentAtIndex(IList<BezierPathSegment> path, int index)

Parameters

The chain of BezierPathSegments

index

The segment index

Returns

Type

Description

BezierSegmentThe BezierSegment at the given index