Class SplinePath
The SplinePath type is an implementation of ISpline that is composed of multiple sections of other splines (see SplineSlice<T>). This is useful when you want to evaluate a path that follows multiple splines, typically in the case where splines share linked knots.
Implements
Inherited Members
Namespace: UnityEngine.Splines
Assembly: solution.dll
Syntax
public class SplinePath : SplinePath<SplineSlice<Spline>>, ISpline, IReadOnlyList<BezierKnot>, IReadOnlyCollection<BezierKnot>, IEnumerable<BezierKnot>, IEnumerable, IHasEmptyCurves
Constructors
Name | Description |
---|---|
SplinePath(IEnumerable<SplineSlice<Spline>>) | Creates a new SplinePath from a collection of SplineSlice<T>. |