Class BufferedLinearInterpolatorQuaternion
Solves for incoming values that are jittered Partially solves for message loss. Unclamped lerping helps hide this, but not completely
Inherited Members
Namespace: Unity.Netcode
Syntax
public class BufferedLinearInterpolatorQuaternion : BufferedLinearInterpolator<Quaternion>
Remarks
This is a buffered linear interpolator for a Quaternion type value
Methods
Interpolate(Quaternion, Quaternion, Single)
Method to override and adapted to the generic type. This assumes interpolation for that value will be clamped.
Declaration
protected override Quaternion Interpolate(Quaternion start, Quaternion end, float time)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | start | |
Quaternion | end | |
Single | time | The time value used to interpolate between start and end values (pos) |
Returns
Type | Description |
---|---|
Quaternion | The interpolated value |
Overrides
Unity.Netcode.BufferedLinearInterpolator<UnityEngine.Quaternion>.Interpolate(UnityEngine.Quaternion, UnityEngine.Quaternion, System.Single)
InterpolateUnclamped(Quaternion, Quaternion, Single)
Method to override and adapted to the generic type. This assumes interpolation for that value will not be clamped.
Declaration
protected override Quaternion InterpolateUnclamped(Quaternion start, Quaternion end, float time)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | start | |
Quaternion | end | |
Single | time | The time value used to interpolate between start and end values (pos) |
Returns
Type | Description |
---|---|
Quaternion | The interpolated value |
Overrides
Unity.Netcode.BufferedLinearInterpolator<UnityEngine.Quaternion>.InterpolateUnclamped(UnityEngine.Quaternion, UnityEngine.Quaternion, System.Single)