Struct DistanceToInterpolation
A key-value pair associating a distance to interpolation ratio ('t') value. This is used when evaluating Spline attributes to ensure uniform distribution of sampling points.
Inherited Members
Namespace: UnityEngine.Splines
Syntax
[Serializable]
public struct DistanceToInterpolation
Fields
Distance
Distance in Unity units.
Declaration
public float Distance
Field Value
Type | Description |
---|---|
Single |
T
A normalized interpolation ratio ('t').
Declaration
public float T
Field Value
Type | Description |
---|---|
Single |