Class BufferedLinearInterpolatorVector3
Inherited Members
Namespace: Unity.Netcode
Syntax
public class BufferedLinearInterpolatorVector3 : BufferedLinearInterpolator<Vector3>
Fields
IsSlerp
Declaration
public bool IsSlerp
Field Value
| Type | Description |
|---|---|
| Boolean |
Methods
Interpolate(Vector3, Vector3, Single)
Method to override and adapted to the generic type. This assumes interpolation for that value will be clamped.
Declaration
protected override Vector3 Interpolate(Vector3 start, Vector3 end, float time)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | start | |
| Vector3 | end | |
| Single | time | The time value used to interpolate between start and end values (pos) |
Returns
| Type | Description |
|---|---|
| Vector3 | The interpolated value |
Overrides
Unity.Netcode.BufferedLinearInterpolator<UnityEngine.Vector3>.Interpolate(UnityEngine.Vector3, UnityEngine.Vector3, System.Single)
InterpolateUnclamped(Vector3, Vector3, Single)
Method to override and adapted to the generic type. This assumes interpolation for that value will not be clamped.
Declaration
protected override Vector3 InterpolateUnclamped(Vector3 start, Vector3 end, float time)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | start | |
| Vector3 | end | |
| Single | time | The time value used to interpolate between start and end values (pos) |
Returns
| Type | Description |
|---|---|
| Vector3 | The interpolated value |
Overrides
Unity.Netcode.BufferedLinearInterpolator<UnityEngine.Vector3>.InterpolateUnclamped(UnityEngine.Vector3, UnityEngine.Vector3, System.Single)