UxrInterpolator.Interpolate Method (Single, Single, Single, UxrEasing)
Interpolates between two floating point values using a t between range [0.0, 1.0] and a given easing.
Namespace: UltimateXR.Animation.Interpolation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static float Interpolate(
float a,
float b,
float t,
UxrEasing easing
)
Parameters
- a
- Type: System.Single
Start value - b
- Type: System.Single
End value - t
- Type: System.Single
Interpolation factor - easing
- Type: UltimateXR.Animation.Interpolation.UxrEasing
Easing
Return Value
Type: Single
Interpolated value
See Also
Reference
UxrInterpolator Class
Interpolate Overload
UltimateXR.Animation.Interpolation Namespace