Interface ISpline
ISpline defines the interface from which Spline types inherit.
Inherited Members
Namespace: UnityEngine .Splines
Assembly: solution.dll
Syntax
public interface ISpline : IReadOnlyList<BezierKnot>, IReadOnlyCollection<BezierKnot>, IEnumerable<BezierKnot>, IEnumerable
Properties
Name | Description |
---|---|
Closed | Whether the spline is open (has a start and end point) or closed (forms an unbroken loop). |
Methods
Name | Description |
---|---|
Get |
Get a Bezier |
Get |
Return the interpolation ratio (0 to 1) corresponding to a distance on a Bezier |
Get |
Return the length of a curve. |
Get |
Return the up vector for a t ratio on the curve. Contrary to Evaluate |
Get |
Return the sum of all curve lengths, accounting for Closed state. |