FQuaternionLerp Method

Return a quaternion representing the linear interpolation between the two supplied quaternions.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2613.4238
C#
public static FQuaternion Lerp(
	FQuaternion quaternion1,
	FQuaternion quaternion2,
	float portion
)

Parameters

quaternion1  FQuaternion
Reference to the starting quaternion to compare.
quaternion2  FQuaternion
Reference to the ending quaternion to compare.
portion  Single
The portion between the first and second quaternions to capture, as a decimal value between 0 and 1.

Return Value

FQuaternion
Reference to a new quaternion representing the specified portion between the first and second supplied quaternions, if legitimate values were supplied.

See Also