기술 자료

Unity Engine

Unity Engine

LerpUnclamped

Interpolates between a and b by t and normalizes the result afterwards. The parameter t is not clamped.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

LerpUnclamped(Quaternion, Quaternion, float)

Interpolates between
a
and
b
by
t
and normalizes the result afterwards. The parameter
t
is not clamped.
public static Quaternion LerpUnclamped(Quaternion a, Quaternion b, float t)

Parameters

Returns

Type

Description

Quaternion

Remarks

This is faster than Slerp but looks worse if the rotations are far apart.

LerpUnclamped(Quaternion, Quaternion, float)

Interpolates between
a
and
b
by
t
and normalizes the result afterwards. The parameter
t
is not clamped.
public static Quaternion LerpUnclamped(in Quaternion a, in Quaternion b, float t)

Parameters

Returns

Type

Description

Quaternion

Remarks

This is faster than Slerp but looks worse if the rotations are far apart.