Struct SmoothStepFloat2
Interpolate between two values a and b by ratio t with smoothing at the start and end.
Implements
Inherited Members
Namespace: UnityEngine.Splines.Interpolators
Assembly: solution.dll
Syntax
public struct SmoothStepFloat2 : IInterpolator<float2>
Methods
Name | Description |
---|---|
Interpolate(float2, float2, float) | Interpolates between a and b by ratio t with smoothing at the limits. This function interpolates between min and max in a similar way to Lerp. However, the interpolation will gradually speed up from the start and slow down toward the end. This is useful for creating natural-looking animation, fading and other transitions. |