SplineInterpolator
The SplineInterpolator blends sample values smoothly using a Catmull-Rom curve. The SplineInterpolator is defined for types float, Vector2 and Vector3.
Constructors
SplineInterpolator |
Properties
NumberOfSamplesToStayBehind | Number of leading samples required for this interpolation method, added to InterpolationSettings.Delay. Linear interpolation requires one sample ahead (and one behind) to produce valid results while splines require two samples ahead and behind. The default Interpolator requires no samples ahead or behind because since it simply applies the most recent sample with no blending. |
Methods
InterpolateDouble | |
InterpolateFloat | |
InterpolateVector2 | |
InterpolateVector3 |