FQuaternionSLerp Method
Return the specified Spherical Linear Interpolation value between the
two provided quaternions.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2613.4238
public static FQuaternion SLerp(
FQuaternion quaternion1,
FQuaternion quaternion2,
float portion
)
Public Shared Function SLerp (
quaternion1 As FQuaternion,
quaternion2 As FQuaternion,
portion As Single
) As FQuaternion
No code example is currently available or this language may not be supported.
- 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.
FQuaternion
Reference to a new quaternion containing a spherical linear
interpolation between the two supplied by the caller.