Version: 2023.1

Vector2.LerpUnclamped

切换到手册
public static Vector2 LerpUnclamped (Vector2 a, Vector2 b, float t);

描述

在向量 a 与 b 之间按 t 进行线性插值。

当 t = 0 时,返回 a 。
当 t = 1 时,返回 b 。
当 t = 0.5 时,返回 a 和 b 的中点。

另请参阅:Lerp。