기술 자료

Unity Engine

Unity Engine

slerp(quaternion, quaternion, float)

Returns the result of a spherical interpolation between two quaternions q1 and a2 using an interpolation parameter t.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static quaternion slerp(quaternion q1, quaternion q2, float t)

Parameters

The first quaternion.

The second quaternion.

The interpolation parameter.

Returns

Type

Description

quaternionThe spherical linear interpolation of two quaternions.