ドキュメント

Unity Engine

Unity Engine

LerpUnclamped

Interpolates between a and b by t and normalizes the result afterwards. The parameter t is not clamped.
読み終わるまでの所要時間 1 分最終更新 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.