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 |
---|---|
LerpColor | Linearly interpolate between two values a and b by ratio t. |
LerpFloat | Linearly interpolate between two values a and b by ratio t. |
LerpFloat2 | Linearly interpolate between two values a and b by ratio t. |
LerpFloat3 | Linearly interpolate between two values a and b by ratio t. |
LerpFloat4 | Linearly interpolate between two values a and b by ratio t. |
LerpQuaternion | Linearly interpolate between two values a and b by ratio t. |
SlerpFloat2 | Spherically interpolate between two values a and b by ratio t. |
SlerpFloat3 | Spherically interpolate between two values a and b by ratio t. |
SlerpQuaternion | Spherically interpolates between quaternions a and b by ratio t. The parameter t is clamped b the range [0, 1]. |
SmoothStepFloat | Interpolate between two values a and b by ratio t with smoothing at the start and end. |
SmoothStepFloat2 | Interpolate between two values a and b by ratio t with smoothing at the start and end. |
SmoothStepFloat3 | Interpolate between two values a and b by ratio t with smoothing at the start and end. |
SmoothStepFloat4 | Interpolate between two values a and b by ratio t with smoothing at the start and end. |