Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

插值

插值是图形编程中一个非常基本的操作. 作为一名图形开发人员, 熟悉它有助于扩展你的视野.

基本思想是从 A 转换到 B。t 值是介于两者之间的状态。

举个例子, 如果 t 是0, 那么他的状态是A. 如果 t 是1,那么它的 状态是B. 任何介于两者之间的状态都是 插值.

Between two real (floating-point) numbers, an interpolation can be described as:

interpolation = A * (1 - t) + B * t

通常简化为:

interpolation = A +