Quaternion.Interpolate method

Populates this quaternion with the interpolated value between the given quaternion arguments for a t between from and to.

public static Quaternion Interpolate(float t, Quaternion from, Quaternion to)
Parameter Type Description
t Single The coefficient to interpolate.
from Quaternion Source quaternion.
to Quaternion Target quaternion.

Return Value

The interpolated quaternion.

See Also