Class InterpolatorUtility
InterpolatorUtility provides easy access to all the different IInterpolator implementations.
Inherited Members
Namespace: UnityEngine .Splines
Assembly: solution.dll
Syntax
public static class InterpolatorUtility
Properties
Name | Description |
---|---|
Lerp |
Linearly interpolate between two values a and b by ratio t. |
Lerp |
Linearly interpolate between two values a and b by ratio t. |
Lerp |
Linearly interpolate between two values a and b by ratio t. |
Lerp |
Linearly interpolate between two values a and b by ratio t. |
Lerp |
Linearly interpolate between two values a and b by ratio t. |
Lerp |
Linearly interpolate between two values a and b by ratio t. |
Slerp |
Spherically interpolate between two values a and b by ratio t. |
Slerp |
Spherically interpolate between two values a and b by ratio t. |
Slerp |
Spherically interpolates between quaternions a and b by ratio t. The parameter t is clamped b the range [0, 1]. |
Smooth |
Interpolate between two values a and b by ratio t with smoothing at the start and end. |
Smooth |
Interpolate between two values a and b by ratio t with smoothing at the start and end. |
Smooth |
Interpolate between two values a and b by ratio t with smoothing at the start and end. |
Smooth |
Interpolate between two values a and b by ratio t with smoothing at the start and end. |