Nlerp(quaternion4, quaternion4, float4)
Computes the normalized linear interpolation from q1 to q2 along the shortest path.
Read time 1 minuteLast updated 5 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public static quaternion4 Nlerp(this quaternion4 q1, quaternion4 q2, float4 blend)
Parameters
The quaternion4 to interpolate from.
The quaternion4 to interpolate to.
The interpolation factor of each lane. The method doesn't clamp it.
Returns
Type | Description |
|---|---|
| quaternion4 | The interpolated quaternion4. |