DirectX7.QuaternionSlerp
The DirectX7.QuaternionSlerp method interpolated between two quaternion types, using spherical linear interpolation.
object.QuaternionSlerp(quat As D3DRMQUATERNION, _
quatA As D3DRMQUATERNION, _
quatB As D3DRMQUATERNION, _
alpha As Single)
Parameters
- object
- Object expression that resolves to a DirectX7 object.
- quat
- The D3DRMQUATERNION type that will contain the interpolation.
- quatA and quatB
- The D3DRMQUATERNION types that are used as the starting and ending points for the interpolation, respectively.
- alpha
- Value between 0 and 1 that specifies how far to interpolate between quatA and quatB.
Error Codes
If the method fails, an error is raised and Err.Number is set.