Method Slerp
Slerp(Quaternion, Quaternion, Single)
Interpolates between two quaternions, using spherical linear interpolation..
Declaration
public static Quaternion Slerp(Quaternion start, Quaternion end, float amount)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | start | Start quaternion. |
Quaternion | end | End quaternion. |
System.Single | amount | Value between 0 and 1 indicating the weight of |
Returns
Type | Description |
---|---|
Quaternion | The spherical linear interpolation of the two quaternions. |