Documentation

Unity Engine

Download Unity

Unity Engine

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

public static quaternion4 Nlerp(this quaternion4 q1, quaternion4 q2, float4 blend)

Parameters

The quaternion4 to interpolate from.

The quaternion4 to interpolate to.

blend

The interpolation factor of each lane. The method doesn't clamp it.

Returns

Type

Description

quaternion4The interpolated quaternion4.