Enum PathIndexUnit
Describes the unit of measurement used by DataPoint<TDataType>.
Namespace: UnityEngine.Splines
Assembly: Unity.Splines.dll
Syntax
public enum PathIndexUnit
Fields
| Name | Description |
|---|---|
| Distance | The 't' value used when interpolating is measured in game units. Values range from 0 (start of Spline) to GetLength() (end of Spline). |
| Knot | The 't' value used when interpolating is defined by knot indices and a fractional value representing the normalized interpolation between the specific knot index and the next knot. |
| Normalized | The 't' value used when interpolating is normalized. Values range from 0 (start of Spline) to 1 (end of Spline). |