FQuaternionSLerp Method

Return the specified Spherical Linear Interpolation value between the two provided quaternions.

Definition

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

Parameters

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

Return Value

FQuaternion
Reference to a new quaternion containing a spherical linear interpolation between the two supplied by the caller.

See Also