UxrInterpolator.Interpolate Method (Single, Single, Single, UxrInterpolationSettings)
Interpolates between two floating point values.
Namespace: UltimateXR.Animation.Interpolation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static float Interpolate(
float startValue,
float endValue,
float time,
UxrInterpolationSettings settings
)
Parameters
- startValue
- Type: System.Single
The start value - endValue
- Type: System.Single
The end value - time
- Type: System.Single
The time value - settings
- Type: UltimateXR.Animation.Interpolation.UxrInterpolationSettings
The interpolation settings to use
Return Value
Type: Single
Interpolated floating point value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | When settings is null. |
See Also
Reference
UxrInterpolator Class
Interpolate Overload
UltimateXR.Animation.Interpolation Namespace