UxrInterpolator Class
Provides functionality to interpolate between values using a wide range of interpolation modes. This class also provides functionality to interpolate between 2 strings using a typewriter effect.
Inheritance Hierarchy
System.Object
UltimateXR.Animation.Interpolation.UxrInterpolator
Namespace: UltimateXR.Animation.Interpolation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static class UxrInterpolator
The UxrInterpolator type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetInterpolationFactor | Gets the T value used for linear interpolations like Vector3.Lerp or Quaternion.Slerp using easing and loop. | |
Interpolate(Single, Single, Single, UxrEasing) | Interpolates between two floating point values using a t between range [0.0, 1.0] and a given easing. | |
Interpolate(Single, Single, Single, UxrInterpolationSettings) | Interpolates between two floating point values. | |
Interpolate(Quaternion, Quaternion, Single, UxrEasing) | Spherically interpolates (SLERP) between two quaternions using a t between range [0.0, 1.0] and a given easing. | |
Interpolate(Quaternion, Quaternion, Single, UxrInterpolationSettings) | Interpolates between two Quaternion values. The interpolation uses SLERP. | |
Interpolate(Vector3, Vector3, Single, UxrEasing) | Interpolates between two points using a t between range [0.0, 1.0] and a given easing. | |
Interpolate(Vector4, Vector4, Single, UxrInterpolationSettings) | Interpolates between two Vector4 values | |
Interpolate(Single, Single, Single, Single, Single, UxrEasing, UxrLoopMode, Single, Boolean) | Interpolates between two floating point values. | |
Interpolate(Quaternion, Quaternion, Single, Single, Single, UxrEasing, UxrLoopMode, Single, Boolean) | Interpolates between two Quaternion values. The interpolation uses SLERP. | |
Interpolate(Vector4, Vector4, Single, Single, Single, UxrEasing, UxrLoopMode, Single, Boolean) | Interpolates between two Vector4 values | |
InterpolateText(Single, Boolean, String, Object[]) | Interpolates text using a typewriter effect | |
InterpolateText(String, String, Single, Boolean) | Interpolates text using a typewriter effect. | |
SmoothDamp | Smooths a float value using the previous value, new value and a smooth value between [0.0, 1.0]. | |
SmoothDampPosition | Smooths a position value using the last position, new position and a smooth value between [0.0, 1.0]. | |
SmoothDampRotation | Smooths a rotation value using the last rotation, new rotation and a smooth value between [0.0, 1.0]. This tries to do something similar to SmoothDamp(Vector3, Vector3, Vector3, Single, Single) but for rotations. |