Click or drag to resize

QuaternionSlerp(Quaternion, Quaternion, Double) Method

Performs a spherical linear blend between two quaternions.

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntax
public static Quaternion Slerp(
	Quaternion quaternion1,
	Quaternion quaternion2,
	double amount
)

Parameters

quaternion1  Quaternion
Source Quaternion.
quaternion2  Quaternion
Source Quaternion.
amount  Double
The blend amount where 0 returns quaternion1 and 1 quaternion2.

Return Value

Quaternion
The result of spherical linear blending between two quaternions.
See Also