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
Assembly: Unity.Splines.dll
Syntax
[Serializable]
public struct DistanceToInterpolation
Fields
Distance
Distance in Unity units.
Declaration
public float Distance
Field Value
Type | Description |
---|---|
float |
See Also
T
A normalized interpolation ratio ('t').
Declaration
public float T
Field Value
Type | Description |
---|---|
float |