TweenInterpolator: (
    time: number,
    start: ReadonlyArray<number>,
    end: ReadonlyArray<number>,
    result: number[],
    ...args: T,
) => void

类型参数

  • T extends any[]

类型声明

    • (
          time: number,
          start: ReadonlyArray<number>,
          end: ReadonlyArray<number>,
          result: number[],
          ...args: T,
      ): void
    • 参数

      • time: number

        The current time.

      • start: ReadonlyArray<number>

        The start value.

      • end: ReadonlyArray<number>

        The end value.

      • result: number[]

        The result value.

      • ...args: T

        The additional arguments.

      返回 void

TweenInterpolator is a function that calculates the value of the tween at a given time.

TweenInterpolator 是一个在给定时间计算缓动值的函数。