文档

Unity Engine

Unity Engine

LerpUnclamped(Quaternion, Quaternion, float)

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
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.