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