UxrInterpolator.Interpolate Method (Vector3, Vector3, Single, UxrEasing)

Interpolates between two points using a t between range [0.0, 1.0] and a given easing.

Namespace: UltimateXR.Animation.Interpolation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static Vector3 Interpolate(
	Vector3 a,
	Vector3 b,
	float t,
	UxrEasing easing
)

Parameters

 

a
Type: Vector3
Start value
b
Type: Vector3
End value
t
Type: System.Single
Interpolation factor
easing
Type: UltimateXR.Animation.Interpolation.UxrEasing
Easing

Return Value

Type: Vector3
Interpolated value

See Also

Reference

UxrInterpolator Class
Interpolate Overload
UltimateXR.Animation.Interpolation Namespace